Browse Source

Null-terminate string in CivetServer::getParam

bel 11 năm trước cách đây
mục cha
commit
24dfa15f88
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 }