Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2005-10-01 14:55:56 UTC

Modified files:
  Tag: u2_10_12_branch
     ChangeLog include/patchlevel.h ircd/class.c

Log message:

Bump patchlevel and fix init_class() dropping configured classes.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.2 ircu2.10/ChangeLog:1.710.2.3
--- ircu2.10/ChangeLog:1.710.2.2        Fri Sep 30 20:45:19 2005
+++ ircu2.10/ChangeLog  Sat Oct  1 07:55:46 2005
@@ -1,3 +1,10 @@
+2005-10-01  Michael Poole <[EMAIL PROTECTED]>
+
+       * include/patchlevel.h (PATCHLEVEL): Update to pre1.
+
+       * ircd/class.c (init_class): Only set default class's ->next
+       pointer when first allocating it.
+
 2005-09-30  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/m_who.c (m_who): Handle matchsel & WHO_FIELD_ACC when
Index: ircu2.10/include/patchlevel.h
diff -u ircu2.10/include/patchlevel.h:1.23.2.1 
ircu2.10/include/patchlevel.h:1.23.2.2
--- ircu2.10/include/patchlevel.h:1.23.2.1      Fri Sep 30 16:33:56 2005
+++ ircu2.10/include/patchlevel.h       Sat Oct  1 07:55:46 2005
@@ -15,10 +15,10 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: patchlevel.h,v 1.23.2.1 2005/09/30 23:33:56 entrope Exp $
+ * $Id: patchlevel.h,v 1.23.2.2 2005/10/01 14:55:46 entrope Exp $
  *
  */
-#define PATCHLEVEL "0"
+#define PATCHLEVEL "pre1"
 
 #define RELEASE ".12."
 
Index: ircu2.10/ircd/class.c
diff -u ircu2.10/ircd/class.c:1.34 ircu2.10/ircd/class.c:1.34.2.1
--- ircu2.10/ircd/class.c:1.34  Thu Aug 25 20:23:23 2005
+++ ircu2.10/ircd/class.c       Sat Oct  1 07:55:46 2005
@@ -18,7 +18,7 @@
  */
 /** @file
  * @brief Implementation of connection class handling functions.
- * @version $Id: class.c,v 1.34 2005/08/26 03:23:23 entrope Exp $
+ * @version $Id: class.c,v 1.34.2.1 2005/10/01 14:55:46 entrope Exp $
  */
 #include "config.h"
 
@@ -91,8 +91,10 @@
  */
 void init_class(void)
 {
-  if (!connClassList)
+  if (!connClassList) {
     connClassList = (struct ConnectionClass*) make_class();
+    connClassList->next   = 0;
+  }
 
   /* We had better not try and free this... */
   ConClass(connClassList) = "default";
@@ -102,7 +104,6 @@
   MaxSendq(connClassList) = feature_int(FEAT_DEFAULTMAXSENDQLENGTH);
   connClassList->valid    = 1;
   Links(connClassList)    = 1;
-  connClassList->next     = 0;
 }
 
 /** Mark current connection classes as invalid.
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to