WPS: Fixed printf size_t warning on 32-bit builds
This commit is contained in:
parent
d3a42e1240
commit
efa6481438
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ void http_request_send(struct http_request *req, struct wpabuf *resp)
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "HTTP: Send %lu byte response to %s:%d",
|
wpa_printf(MSG_DEBUG, "HTTP: Send %lu byte response to %s:%d",
|
||||||
wpabuf_len(resp), inet_ntoa(req->cli.sin_addr),
|
(unsigned long) wpabuf_len(resp),
|
||||||
|
inet_ntoa(req->cli.sin_addr),
|
||||||
ntohs(req->cli.sin_port));
|
ntohs(req->cli.sin_port));
|
||||||
|
|
||||||
res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0);
|
res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0);
|
||||||
|
|
Loading…
Reference in a new issue