Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-09-18 14:42:50 UTC
Modified files:
include/class.h ChangeLog
Log message:
Make "counting" fields of ConnectionClass unsigned.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.472 ircu2.10/ChangeLog:1.473
--- ircu2.10/ChangeLog:1.472 Sat Sep 18 07:38:33 2004
+++ ircu2.10/ChangeLog Sat Sep 18 07:42:40 2004
@@ -3,6 +3,10 @@
* doc/example.conf: Add NETWORK feature example. Fix typos in
eaxmples for HANGONGOODLINK and IRCD_RES_TIMEOUT.
+ * include.class.h: Make max_links and ref_count unsigned ints.
+ Make ping_freq and conn_freq unsigned short. (No more negative
+ numbers in /stats y.)
+
2004-09-18 hikari <[EMAIL PROTECTED]>
* ircd/Makefile.in: Fixed a missing internal build dependency.
Index: ircu2.10/include/class.h
diff -u ircu2.10/include/class.h:1.17 ircu2.10/include/class.h:1.18
--- ircu2.10/include/class.h:1.17 Sat Sep 11 20:53:43 2004
+++ ircu2.10/include/class.h Sat Sep 18 07:42:40 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: class.h,v 1.17 2004/09/12 03:53:43 entrope Exp $
+ * $Id: class.h,v 1.18 2004/09/18 14:42:40 entrope Exp $
*/
#ifndef INCLUDED_class_h
#define INCLUDED_class_h
@@ -41,11 +41,11 @@
struct Privs privs;
struct Privs privs_dirty;
unsigned int max_sendq;
- short ping_freq;
- short conn_freq;
- short max_links;
+ unsigned int max_links;
+ unsigned int ref_count;
+ unsigned short ping_freq;
+ unsigned short conn_freq;
unsigned char valid;
- int ref_count;
};
/*
----------------------- End of diff -----------------------