mirror of
https://github.com/anope/anope.git
synced 2026-06-30 00:16:39 +02:00
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... :)
git-svn-id: svn://svn.anope.org/anope/trunk@398 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@262 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
d24c7ebd16
commit
3bdbd74fc6
+1
-1
@@ -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]) {
|
||||
|
||||
+5
-1
@@ -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 :)
|
||||
|
||||
Reference in New Issue
Block a user