mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-13 10:15:00 +00:00
Removed redundant cast in try_parse()
This commit is contained in:
+1
-1
@@ -4042,7 +4042,7 @@ static void try_parse(struct connection *conn) {
|
||||
if (conn->request_len > 0) {
|
||||
const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length");
|
||||
conn->cl = cl_hdr == NULL ? 0 : to64(cl_hdr);
|
||||
conn->mg_conn.content_len = (long int) conn->cl;
|
||||
conn->mg_conn.content_len = conn->cl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user