Update tutorial-09-http_file_server.cc

This commit is contained in:
xiehan
2022-08-02 20:20:40 +08:00
committed by GitHub
parent 120507fd5c
commit 96d7a172f5

View File

@@ -140,7 +140,7 @@ int main(int argc, char *argv[])
if (*buf == '\0')
{
printf("\n");
return nullptr;
return NULL;
}
std::string url = scheme + "127.0.0.1:" + std::to_string(port) + "/" + buf;