Skip to content

Commit 9e35a98

Browse files
committed
Properly initialize kqfd value before use
1 parent 58ac9cc commit 9e35a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HTTPServer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ HTTPServer::HTTPServer(std::vector<std::string> vhost_aliases, int port, std::st
3030
canRun = false;
3131
listenSocket = INVALID_SOCKET;
3232
listenPort = port;
33+
kqfd = -1;
3334

3435
std::cout << "Primary port: " << port << ", disk path: " << diskpath.c_str() << std::endl;
3536

0 commit comments

Comments
 (0)