diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-09-21 14:12:02 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-09-21 14:12:02 +0000 |
commit | f13848d99e2b5545fdee5734c0b6424b82ab8b5f (patch) | |
tree | e9e8074eb00ec45a3bef78baff7b840de096e707 /src/botserv.c | |
parent | a7b8148370e17de82de91d7e42bd8b6a14795e64 (diff) |
BUILD : 1.7.11 (892) BUGS : NOTES : Applied patch by Trystan to [1] strip CR/LF as well with normalizeBuffer() [2] fix various issues with hs_request (makes use of #1 in hs_request so that lines that are \n only are not processed; Adds check of tmp before allowing strtol() to get its hands on it; HSRequestDBName is set during the config load, if not by the config its sstrdup() with the default value.. so that the message at the end of the load does not read (NULL); frees the HSRequestDBName on unload; ran indent again it)
git-svn-id: svn://svn.anope.org/anope/trunk@892 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@639 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
-rw-r--r-- | src/botserv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c index 3ba8cdb91..6570a75d5 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -1069,7 +1069,12 @@ char *normalizeBuffer(char *buf) } break; - + /* line feed char */ + case 10: + break; + /* carriage returns char */ + case 13: + break; /* Reverse ctrl char */ case 22: break; |