Committer : klmitch
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_11_07
Commit time: 2004-03-07 22:45:49 UTC
Modified files:
Tag: u2_10_11_07
ChangeLog ircd/gline.c
Log message:
Author: Kev <[EMAIL PROTECTED]>
Log message:
Replace a missing 'else'...
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.130.2.1 ircu2.10/ChangeLog:1.290.2.130.2.2
--- ircu2.10/ChangeLog:1.290.2.130.2.1 Sat Jan 31 19:46:53 2004
+++ ircu2.10/ChangeLog Sun Mar 7 14:45:38 2004
@@ -1,3 +1,8 @@
+2004-03-07 Kevin L Mitchell <[EMAIL PROTECTED]>
+
+ * ircd/gline.c (gline_stats): gotta have an else here or we end up
+ with some nice server crashes
+
2004-01-31 Kevin L Mitchell <[EMAIL PROTECTED]>
* include/patchlevel.h (PATCHLEVEL): update patchlevel...
Index: ircu2.10/ircd/gline.c
diff -u ircu2.10/ircd/gline.c:1.38.2.9 ircu2.10/ircd/gline.c:1.38.2.9.2.1
--- ircu2.10/ircd/gline.c:1.38.2.9 Sat Jan 10 16:23:32 2004
+++ ircu2.10/ircd/gline.c Sun Mar 7 14:45:39 2004
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: gline.c,v 1.38.2.9 2004/01/11 00:23:32 isomer Exp $
+ * $Id: gline.c,v 1.38.2.9.2.1 2004/03/07 22:45:39 klmitch Exp $
*/
#include "config.h"
@@ -810,7 +810,8 @@
if (gline->gl_expire <= CurrentTime)
gline_free(gline);
- send_reply(sptr, RPL_STATSGLINE, 'G', gline->gl_user,
+ else
+ send_reply(sptr, RPL_STATSGLINE, 'G', gline->gl_user,
gline->gl_host ? "@" : "",
gline->gl_host ? gline->gl_host : "",
gline->gl_expire + TSoffset, gline->gl_reason);
----------------------- End of diff -----------------------