summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--botserv.c4
-rw-r--r--version.log6
2 files changed, 8 insertions, 2 deletions
diff --git a/botserv.c b/botserv.c
index 3aac7ce84..c4c96fdff 100644
--- a/botserv.c
+++ b/botserv.c
@@ -2522,13 +2522,15 @@ static int do_act(User * u)
/*************************************************************************/
/**
* Normalize buffer stripping control characters and colors
+ * @param A string to be parsed for control and color codes
+ * @return A string stripped of control and color codes
*/
char *normalizeBuffer(char *buf)
{
char *newbuf;
int i, len, j = 0;
- newbuf = (char *) malloc(255);
+ newbuf = (char *) malloc(BUFSIZE);
len = strlen(buf);
diff --git a/version.log b/version.log
index b65099d75..5078c4206 100644
--- a/version.log
+++ b/version.log
@@ -8,11 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="2"
-VERSION_BUILD="84"
+VERSION_BUILD="85"
VERSION_EXTRA=""
# $Log$
#
+# BUILD : 1.7.2 (85)
+# BUGS :
+# NOTES : Made normalizeBuffer string size equal to BUFSIZE (1024). Fixed function comments to be doxygen friendly :)
+#
# BUILD : 1.7.2 (84)
# BUGS :
# NOTES : Updating Changes :)