]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
Produce debug output only if SMUX_DEBUG is defined
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / rsconf.cpp
index 9ec72a1c1aa67f628c45e7af0dc72d9f1de23f37..b4cbf544aa82f169049691fbfeef316251a31547 100644 (file)
@@ -461,7 +461,7 @@ while (1)
         }
 
     char buffer[8];
         }
 
     char buffer[8];
-    buffer[8] = 0;
+    buffer[7] = 0;
 
     DecodeString(buffer, bufferS, &ctx);
     requestList.push_back(std::string(buffer, pos));
 
     DecodeString(buffer, bufferS, &ctx);
     requestList.push_back(std::string(buffer, pos));