mirror of
https://github.com/anope/anope.git
synced 2026-07-01 08:56:37 +02:00
BUILD : 1.7.2 (85) BUGS : NOTES : Made normalizeBuffer string size equal to BUFSIZE (1024). Fixed function comments to be doxygen friendly :)
git-svn-id: svn://svn.anope.org/anope/trunk@85 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@61 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
a63e254bd4
commit
2bf5802671
@@ -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);
|
||||
|
||||
|
||||
+5
-1
@@ -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 :)
|
||||
|
||||
Reference in New Issue
Block a user