miniupnpc-libevent.c: set UPNPC_DEVICE_SOAP_REQ properly

This commit is contained in:
Thomas Bernard 2014-12-01 18:48:03 +01:00
parent c021d7351f
commit 12e49bda0d
1 changed files with 1 additions and 0 deletions

View File

@ -589,6 +589,7 @@ static int upnpc_send_soap_request(upnpc_device_t * p, const char * url,
evbuffer_add(buffer, body, body_len);
evhttp_make_request(p->soap_conn, req, EVHTTP_REQ_POST, path);
free(body);
p->state |= UPNPC_DEVICE_SOAP_REQ;
return 0;
}