Explorar o código

Null-terminate string in CivetServer::getParam

bel %!s(int64=11) %!d(string=hai) anos
pai
achega
24dfa15f88
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 }