[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Thu Oct 4 17:16:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-10-04 22:15:29 UTC
Commited by: stdarg

Modified files:
     src/dcc.c

Log message:

Little potential problem I saw.

---------------------- diff included ----------------------
Index: eggdrop1.7/src/dcc.c
diff -u eggdrop1.7/src/dcc.c:1.54 eggdrop1.7/src/dcc.c:1.55
--- eggdrop1.7/src/dcc.c:1.54	Thu Oct  4 16:37:44 2001
+++ eggdrop1.7/src/dcc.c	Thu Oct  4 17:15:19 2001
@@ -4,7 +4,7 @@
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
  *
- * $Id: dcc.c,v 1.54 2001/10/04 21:37:44 stdarg Exp $
+ * $Id: dcc.c,v 1.55 2001/10/04 22:15:19 stdarg Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1714,7 +1714,7 @@
 
     /* Check whether the socket and dcc entry are still valid. They
        might have been killed by `killdcc'. */
-    if (dcc[idx].sock != oldsock || idx > max_dcc)
+    if (idx > max_dcc || dcc[idx].sock != oldsock)
       return;
 
     old_other = dcc[idx].u.script->u.other;
----------------------- End of diff -----------------------



More information about the Changes mailing list