ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/src/irc_string.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/irc_string.c (file contents):
Revision 1009 by michael, Sun Sep 13 15:02:30 2009 UTC vs.
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC

# Line 28 | Line 28
28   #endif
29  
30   #include "stdinc.h"
31 #include "tools.h"
31   #include "irc_string.h"
32   #include "sprintf_irc.h"
34 #include "client.h"
35 #include "list.h"
36 #include "memory.h"
33  
34   #ifndef INADDRSZ
35   #define INADDRSZ 4
# Line 426 | Line 422 | inetntop(int af, const void *src, char *
422      case AF_INET6:
423        if (IN6_IS_ADDR_V4MAPPED((const struct in6_addr *)src) ||
424            IN6_IS_ADDR_V4COMPAT((const struct in6_addr *)src))
425 <        return inet_ntop4((unsigned char *)&((const struct in6_addr *)src)->s6_addr[12], dst, size);
425 >        return inet_ntop4((const unsigned char *)&((const struct in6_addr *)src)->s6_addr[12], dst, size);
426        else
427          return inet_ntop6(src, dst, size);
428   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)