mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
follow Google style
This commit is contained in:
1 parent
df206bc05a
commit
ca3f5a3257
1 file changed
+1
-2
+1
-2
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user