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:
4bd1a4d
)
coverity 83671 dead code
author
Andy Green
<andy.green@linaro.org>
Sun, 30 Nov 2014 04:48:22 +0000
(12:48 +0800)
committer
Andy Green
<andy.green@linaro.org>
Sun, 30 Nov 2014 04:48:22 +0000
(12:48 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/lws-plat-unix.c
patch
|
blob
|
history
diff --git
a/lib/lws-plat-unix.c
b/lib/lws-plat-unix.c
index
a43d57b
..
467e394
100644
(file)
--- a/
lib/lws-plat-unix.c
+++ b/
lib/lws-plat-unix.c
@@
-356,8
+356,6
@@
interface_to_sa(struct libwebsocket_context *context,
break;
#ifdef LWS_USE_IPV6
case AF_INET6:
break;
#ifdef LWS_USE_IPV6
case AF_INET6:
- if (rc >= 0)
- break;
memcpy(&addr6->sin6_addr,
&((struct sockaddr_in6 *)ifc->ifa_addr)->sin6_addr,
sizeof(struct in6_addr));
memcpy(&addr6->sin6_addr,
&((struct sockaddr_in6 *)ifc->ifa_addr)->sin6_addr,
sizeof(struct in6_addr));