projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a42e1
)
WPS: Fixed printf size_t warning on 32-bit builds
author
Jouni Malinen
<jouni.malinen@atheros.com>
Tue, 10 Nov 2009 09:30:11 +0000
(11:30 +0200)
committer
Jouni Malinen
<j@w1.fi>
Tue, 10 Nov 2009 09:30:11 +0000
(11:30 +0200)
src/wps/http_server.c
patch
|
blob
|
history
diff --git
a/src/wps/http_server.c
b/src/wps/http_server.c
index
04d3283
..
8a60c2c
100644
(file)
--- a/
src/wps/http_server.c
+++ b/
src/wps/http_server.c
@@
-140,7
+140,8
@@
void http_request_send(struct http_request *req, struct wpabuf *resp)
int res;
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));
res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0);