From: Michael Poole Date: Sat, 15 Mar 2008 05:24:14 +0000 (+0000) Subject: Author: Michael Poole X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=6a896dc3a06393ec254a43bd5ac4b7e282d4a968 Author: Michael Poole Log message: Check for end of argument list when processing 'r' user mode changes. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1863 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 2dc9f9d..fb27474 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-15 Michael Poole + + * ircd/s_user.c (set_user_mode): Check for end of argument list + when processing 'r' modes. + 2008-01-09 Kevin L. Mitchell * include/patchlevel.h (PATCHLEVEL): bump patchlevel diff --git a/ircd/s_bsd.c b/ircd/s_bsd.c index ab7d261..63e9081 100644 --- a/ircd/s_bsd.c +++ b/ircd/s_bsd.c @@ -182,7 +182,7 @@ int init_connection_limits(void) if (0 == limit) return 1; if (limit < 0) { - fprintf(stderr, "error setting max fd's to %d\n", limit); + fprintf(stderr, "error setting max fds to %d: %s\n", limit, strerror(errno)); } else if (limit > 0) { fprintf(stderr, "ircd fd table too big\nHard Limit: %d IRC max: %d\n",