mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-07 01:40:42 +01:00
Fix the segfault related to curl_easy_reset_no_auth() function
This commit is contained in:
parent
c2aef83959
commit
ec20a84c49
1 changed files with 1 additions and 1 deletions
2
http.c
2
http.c
|
|
@ -307,7 +307,7 @@ http_send_message(struct cwmp *cwmp, char *msg_out, int msg_out_len,char **msg_i
|
|||
|
||||
/* TODO add check for 301, 302 and 307 HTTP Redirect*/
|
||||
|
||||
curl_easy_reset_no_auth(curl);
|
||||
curl_easy_reset(curl);
|
||||
if (http_c.header_list) {
|
||||
curl_slist_free_all(http_c.header_list);
|
||||
http_c.header_list = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue