projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed tools.c:flushModeBuffer (used uninitialized chars)
[NeonServV5.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index a961d62ab2e4f2c44ef1b7ed3078299fd7ca0446..cce88797ec697c70cc847f352178ed546304c8a3 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-394,6
+394,7
@@
void flushModeBuffer(struct ModeBuffer *modeBuf) {
char modeStr[MAXMODES+3];
int modePos = 0;
char paramStr[MAXLEN];
+ *paramStr = '\0';
int paramPos = 0;
int i;
if(modeBuf->addCount) {