Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-12-17 03:30:44 UTC
Modified files:
ircd/numnicks.c
Log message:
Fix typo in previous commit.
---------------------- diff included ----------------------
Index: ircu2.10/ircd/numnicks.c
diff -u ircu2.10/ircd/numnicks.c:1.24 ircu2.10/ircd/numnicks.c:1.25
--- ircu2.10/ircd/numnicks.c:1.24 Wed Dec 15 20:37:14 2004
+++ ircu2.10/ircd/numnicks.c Thu Dec 16 19:30:33 2004
@@ -18,7 +18,7 @@
*/
/** @file
* @brief Implementation of numeric nickname operations.
- * @version $Id: numnicks.c,v 1.24 2004/12/16 04:37:14 entrope Exp $
+ * @version $Id: numnicks.c,v 1.25 2004/12/17 03:30:33 entrope Exp $
*/
#include "config.h"
@@ -447,7 +447,7 @@
inttobase64(buf, (ntohs(addr->in6_16[6]) << 16) | ntohs(addr->in6_16[7]),
6);
} else if (!v6_ok) {
assert(count >= 6);
- if (addr[0] == htons(0x2002))
+ if (addr->in6_16[0] == htons(0x2002))
inttobase64(buf, (ntohs(addr->in6_16[1]) << 16) |
ntohs(addr->in6_16[2]), 6);
else
strcpy(buf, "AAAAAA");
----------------------- End of diff -----------------------