fixed tools.c:flushModeBuffer (used uninitialized chars)
[NeonServV5.git] / src / tools.c
index a961d62ab2e4f2c44ef1b7ed3078299fd7ca0446..cce88797ec697c70cc847f352178ed546304c8a3 100644 (file)
@@ -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) {