diff options
-rw-r--r-- | Changes | 5 | ||||
-rw-r--r-- | operserv.c | 8 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 12 insertions, 7 deletions
@@ -1,6 +1,7 @@ Anope Version 1.7.x (will be renamed when next release is produced) ------------------- Provided by Anope Dev. <dev@anope.org> +2004/05/14 Removed some illegal sizeof(void). Thanks to codemastr. 2004/05/14 Added +a/-a support for PTLink 2004/05/14 Fixed HELP LIST and LIST SYNTAX help messages ( #53 ) 2004/05/14 Fixed a bug with globals containing format characters ( #52 ) @@ -17,10 +18,10 @@ Provided by Anope Dev. <dev@anope.org> 2004/04/26 Added module data ability, currently only added to User struct 2004/04/23 Added new MemoServ command RSEND to send a memo requesting a receipt memo once the recipient reads it. 2004/04/22 Fixed ALIST bug when being invoked by systems admins (Bug #20) -2004/04/19 Added /bin/anoperc anope console control script +2004/04/19 Added /bin/anoperc anope console control script. Provided by Rage IRCD. <rageircd@users.sourceforge.net> -2004/05/11 Added Rage2 IRCD support accepted feature request ( #46 ) +2004/05/11 Added Rage2 IRCD support accepted feature request. ( #46 ) Anope Version 1.7.2 -------------------- diff --git a/operserv.c b/operserv.c index e41d216b6..50eab7407 100644 --- a/operserv.c +++ b/operserv.c @@ -326,7 +326,7 @@ static void get_operserv_stats(long *nrec, long *memuse) } count += akills.count; - mem += akills.capacity * sizeof(void); + mem += akills.capacity; mem += akills.count * sizeof(Akill); for (i = 0; i < akills.count; i++) { @@ -340,7 +340,7 @@ static void get_operserv_stats(long *nrec, long *memuse) #ifdef IRC_BAHAMUT count += sglines.count; - mem += sglines.capacity * sizeof(void); + mem += sglines.capacity; mem += sglines.count * sizeof(SXLine); for (i = 0; i < sglines.count; i++) { @@ -353,7 +353,7 @@ static void get_operserv_stats(long *nrec, long *memuse) #endif count += sqlines.count; - mem += sqlines.capacity * sizeof(void); + mem += sqlines.capacity; mem += sqlines.count * sizeof(SXLine); for (i = 0; i < sqlines.count; i++) { @@ -366,7 +366,7 @@ static void get_operserv_stats(long *nrec, long *memuse) #ifdef IRC_BAHAMUT count += szlines.count; - mem += szlines.capacity * sizeof(void); + mem += szlines.capacity; mem += szlines.count * sizeof(SXLine); for (i = 0; i < szlines.count; i++) { diff --git a/version.log b/version.log index 870b51da4..d4924a3ff 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="2" -VERSION_BUILD="103" +VERSION_BUILD="104" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.2 (104) +# BUGS : +# NOTES : Removed some illegal sizeof(void). Thanks to codemastr. +# # BUILD : 1.7.2 (103) # BUGS : none # NOTES : Added +a/-a support for PTLink ircd. |