Commit 5680b0fc authored by Sergey Lyubka's avatar Sergey Lyubka

Removed redundant cast in try_parse()

parent 33c56b0e
...@@ -4042,7 +4042,7 @@ static void try_parse(struct connection *conn) { ...@@ -4042,7 +4042,7 @@ static void try_parse(struct connection *conn) {
if (conn->request_len > 0) { if (conn->request_len > 0) {
const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length"); const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length");
conn->cl = cl_hdr == NULL ? 0 : to64(cl_hdr); 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;
} }
} }
} }
......
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