mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-31 08:36:16 +00:00
miniupnpc-libevent.c: set UPNPC_DEVICE_SOAP_REQ properly
This commit is contained in:
parent
c021d7351f
commit
12e49bda0d
@ -589,6 +589,7 @@ static int upnpc_send_soap_request(upnpc_device_t * p, const char * url,
|
|||||||
evbuffer_add(buffer, body, body_len);
|
evbuffer_add(buffer, body, body_len);
|
||||||
evhttp_make_request(p->soap_conn, req, EVHTTP_REQ_POST, path);
|
evhttp_make_request(p->soap_conn, req, EVHTTP_REQ_POST, path);
|
||||||
free(body);
|
free(body);
|
||||||
|
p->state |= UPNPC_DEVICE_SOAP_REQ;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user