mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
Fix warnings highlighted by gcc
This commit is contained in:
parent
77b603942f
commit
c138c94ee5
@ -1257,6 +1257,7 @@ static int http_request_decode_chunks(struct http_request *r){
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the client is trying to post data and has supplied an "Expect: 100..." header
|
/* If the client is trying to post data and has supplied an "Expect: 100..." header
|
||||||
|
@ -154,7 +154,7 @@ static int send_content_end(struct http_request *hr)
|
|||||||
}
|
}
|
||||||
if (session)
|
if (session)
|
||||||
close_session(session);
|
close_session(session);
|
||||||
return 201;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void send_finalise(httpd_request *r)
|
static void send_finalise(httpd_request *r)
|
||||||
@ -614,6 +614,7 @@ static int restful_meshmb_feedlist_json_content_chunk(struct http_request *hr, s
|
|||||||
case LIST_DONE:
|
case LIST_DONE:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int restful_meshmb_feedlist_json_content(struct http_request *hr, unsigned char *buf, size_t bufsz, struct http_content_generator_result *result)
|
static int restful_meshmb_feedlist_json_content(struct http_request *hr, unsigned char *buf, size_t bufsz, struct http_content_generator_result *result)
|
||||||
@ -837,6 +838,7 @@ static int restful_meshmb_activity_json_content_chunk(struct http_request *hr, s
|
|||||||
case LIST_DONE:
|
case LIST_DONE:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int restful_meshmb_activity_json_content(struct http_request *hr, unsigned char *buf, size_t bufsz, struct http_content_generator_result *result)
|
static int restful_meshmb_activity_json_content(struct http_request *hr, unsigned char *buf, size_t bufsz, struct http_content_generator_result *result)
|
||||||
|
Loading…
Reference in New Issue
Block a user