Преглед изворни кода

Null-terminate string in CivetServer::getParam

bel пре 11 година
родитељ
комит
24dfa15f88
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/CivetServer.cpp

+ 1 - 1
src/CivetServer.cpp

@@ -80,7 +80,7 @@ CivetServer::CivetServer(const char **options,
         userCloseHandler = NULL;
     }
     callbacks.connection_close = closeHandler;
-    me->postDataLen = 0;
+    postDataLen = 0;
     context = mg_start(&callbacks, this, options);
 }