projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa0f74
)
gcc-format-strings: ipv6
author
Silas Parker
<skyhisi@users.github.invalid>
Tue, 14 Feb 2017 09:55:13 +0000
(17:55 +0800)
committer
Andy Green
<andy@warmcat.com>
Sat, 18 Feb 2017 09:27:22 +0000
(17:27 +0800)
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
770cb24
..
8ee906a
100755
(executable)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-670,7
+670,7
@@
lws_get_addresses(struct lws_vhost *vh, void *ads, char *name,
#ifdef LWS_USE_IPV6
if (LWS_IPV6_ENABLED(vh)) {
if (!lws_plat_inet_ntop(AF_INET6, &((struct sockaddr_in6 *)ads)->sin6_addr, rip, rip_len)) {
- lwsl_err("inet_ntop", strerror(LWS_ERRNO));
+ lwsl_err("inet_ntop
: %s
", strerror(LWS_ERRNO));
return -1;
}