projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix ipbuf size in count_users().
[ircu2.10.12-pk.git]
/
ircd
/
whocmds.c
diff --git
a/ircd/whocmds.c
b/ircd/whocmds.c
index 08e500faccd468f3217e73635a3701801e88a015..2cee53f2b48b299fc3f891d75d9c94fd25486a00 100644
(file)
--- a/
ircd/whocmds.c
+++ b/
ircd/whocmds.c
@@
-287,7
+287,7
@@
count_users(char *mask)
struct Client *acptr;
int count = 0;
char namebuf[USERLEN + HOSTLEN + 2];
- char ipbuf[USERLEN +
16
+ 2];
+ char ipbuf[USERLEN +
SOCKIPLEN
+ 2];
for (acptr = GlobalClientList; acptr; acptr = cli_next(acptr)) {
if (!IsUser(acptr))