projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b743a
)
Fix typo in previous commit.
author
Michael Poole
<mdpoole@troilus.org>
Fri, 17 Dec 2004 03:30:33 +0000
(
03:30
+0000)
committer
Michael Poole
<mdpoole@troilus.org>
Fri, 17 Dec 2004 03:30:33 +0000
(
03:30
+0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1277
c9e4aea6
-c8fd-4c43-8297-
357d70d61c8c
ircd/numnicks.c
patch
|
blob
|
history
diff --git
a/ircd/numnicks.c
b/ircd/numnicks.c
index 143cec5a019d53dcedc6b1285a3abcffccc7a725..cb6212ae4674e9e823f4335783cfd74cadd03a87 100644
(file)
--- a/
ircd/numnicks.c
+++ b/
ircd/numnicks.c
@@
-447,7
+447,7
@@
const char* iptobase64(char* buf, const struct irc_in_addr* addr, unsigned int c
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");