mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Squashed C++ warning in read_from_cgi()
This commit is contained in:
1 parent
3a0a22f4cc
commit
9dde225b5e
1 file changed
+2
-1
+2
-1
@@ -3120,7 +3120,8 @@ static void read_from_cgi(struct connection *conn) {
|
|||||||
if (conn->num_bytes_sent == 0 && conn->remote_iobuf.len == 0) {
|
if (conn->num_bytes_sent == 0 && conn->remote_iobuf.len == 0) {
|
||||||
// Parse CGI headers, and modify the reply line if needed
|
// Parse CGI headers, and modify the reply line if needed
|
||||||
if ((len = get_request_len(buf, n)) > 0) {
|
if ((len = get_request_len(buf, n)) > 0) {
|
||||||
char *s = buf, *status = NULL, buf2[sizeof(buf)];
|
const char *status = NULL;
|
||||||
|
char *s = buf, buf2[sizeof(buf)];
|
||||||
struct mg_connection c;
|
struct mg_connection c;
|
||||||
int i, k;
|
int i, k;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user