git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1768
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2007-03-04 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/whocmds.c (count_users): Fix length of ipbuf. (Spotted by
+ paulr.)
+
2007-02-28 Michael Poole <mdpoole@troilus.org>
* ircd/os_generic.c (sockaddr_from_irc): Zero out socket address
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))