Skip to content
Snippets Groups Projects
Commit 6826ad96 authored by ChouTatsumi's avatar ChouTatsumi
Browse files

git bug 0:34

parent 57ded9cd
Branches
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ static bool handle_http_request(int sockfd) {
} else
// never used, just for completeness
fprintf(stderr, "no other methods supported");
} else if (curr == '?') {
} else if (*curr == '?') {
if (method == GET) {
// get the size of the file
struct stat st;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment