Commit ca3f5a32 authored by MPR's avatar MPR

follow Google style

parent df206bc0
...@@ -2409,8 +2409,7 @@ static int parse_http_message(char *buf, int len, struct mg_connection *ri) { ...@@ -2409,8 +2409,7 @@ static int parse_http_message(char *buf, int len, struct mg_connection *ri) {
} else { } else {
if (is_request) { if (is_request) {
ri->http_version += 5; ri->http_version += 5;
} } else {
else {
ri->status_code = atoi(ri->uri); ri->status_code = atoi(ri->uri);
} }
parse_http_headers(&buf, ri); parse_http_headers(&buf, ri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment