diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/libs6net/s6net_ident_reply_get.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -16,3 +16,4 @@ Thanks to: Colin Booth <colin@heliocat.net> Amitai Schleier <schmonz@schmonz.com> Petr Vaněk <arkamar@atlas.cz> + Alex Grabowski <hurufu@gmail.com> diff --git a/src/libs6net/s6net_ident_reply_get.c b/src/libs6net/s6net_ident_reply_get.c index 9093700..3f1ab41 100644 --- a/src/libs6net/s6net_ident_reply_get.c +++ b/src/libs6net/s6net_ident_reply_get.c @@ -14,7 +14,7 @@ ssize_t s6net_ident_reply_get (char *s, ip46 const *remoteip, uint16_t remoteport, ip46 const *localip, uint16_t localport, tain const *deadline, tain *stamp) { - size_t len ; + size_t len = 0 ; int fd ; if (ip46_is6(remoteip) != ip46_is6(localip)) return (errno = EAFNOSUPPORT, -1) ; fd = socket_tcp46(ip46_is6(remoteip)) ; |