diff options
-rw-r--r-- | src/botserv.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/botserv.c b/src/botserv.c index 71d1aaa3d..5531084e8 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -2412,7 +2412,7 @@ char *normalizeBuffer(char *buf) int i, len, j = 0; len = strlen(buf); - newbuf = (char *) malloc((len + 1) * sizeof(char)); + newbuf = (char *) malloc(sizeof(char) * len + 1); for (i = 0; i < len; i++) { switch (buf[i]) { diff --git a/version.log b/version.log index b64e4adfa..e313b6a8f 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="5" -VERSION_BUILD="396" +VERSION_BUILD="398" # $Log$ # +# BUILD : 1.7.5 (398) +# BUGS : N/A +# NOTES : Tiny change to save 1*len bytes per line said in a botserv channel - they are freeed anyway, so... :) +# # BUILD : 1.7.5 (396) # BUGS : N/A # NOTES : Added arvg[0] to AnopeInit call, it will contain the nick of the person who loaded the module. All existing modules are un-effected :) |