mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-30 23:12:25 +01:00
stupid error
This commit is contained in:
parent
12cdefe981
commit
f7ab73f82e
2 changed files with 4 additions and 3 deletions
1
Changes
1
Changes
|
@ -1100,3 +1100,4 @@ seen. gmtime warning still there
|
|||
- Fixed exit_client to do NOQUIT type thing for SQUITs
|
||||
- Moved around a lot of aClient/anUser members, hopefully wont cause
|
||||
segfaults
|
||||
- Fixed res.c not managing to pass the proper type of parameter to inet_ntoa ONCE
|
||||
|
|
|
@ -391,7 +391,7 @@ static int send_res_msg(msg, len, rcount)
|
|||
Debug((DEBUG_DNS, "Sending to nameserver %i",
|
||||
i));
|
||||
Debug((DEBUG_DNS, "IP: %s",
|
||||
inet_ntoa((char *)&ircd_res.nsaddr_list[0].sin_addr.s_addr)));
|
||||
inet_ntoa(ircd_res.nsaddr_list[0].s_addr)));
|
||||
#ifdef INET6
|
||||
/* still IPv4 */
|
||||
ircd_res.nsaddr_list[i].sin_family = AF_INET;
|
||||
|
@ -1005,10 +1005,10 @@ struct hostent *get_res(lp,id)
|
|||
if (a == -1)
|
||||
{
|
||||
sendto_ops("Bad hostname returned from %s for %s",
|
||||
inet_ntoa((struct IN_ADDR *)&sin.sin_addr),
|
||||
inet_ntoa(sin.sin_addr),
|
||||
Inet_ia2p((struct IN_ADDR *)&rptr->he.h_addr));
|
||||
Debug((DEBUG_DNS, "Bad hostname returned from %s for %s",
|
||||
inet_ntoa((struct IN_ADDR *)&sin.sin_addr),
|
||||
inet_ntoa(sin.sin_addr),
|
||||
Inet_ia2p((struct IN_ADDR *)&rptr->he.h_addr)));
|
||||
}
|
||||
#ifdef DEBUGMODE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue