Github user nkalmar commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/559#discussion_r200190816
--- Diff: src/c/src/zookeeper.c ---
@@ -4357,7 +4357,7 @@ int zoo_add_auth(zhandle_t *zh,const char*
scheme,const char* cert,
static const char* format_endpoint_info(const struct sockaddr_storage* ep)
{
static char buf[128] = { 0 };
- char addrstr[128] = { 0 };
+ char addrstr[INET6_ADDRSTRLEN] = { 0 };
--- End diff --
OK, thanks for clearing that up. Well, you were clear now that I understand
the issue - probably the problem was that I'm not much of a C developer :)
---