Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Updated Zookeeper patch to fix format error.
Browse files Browse the repository at this point in the history
  • Loading branch information
karya0 authored and Gilbert88 committed Sep 28, 2018
1 parent 2ee9721 commit 9805a87
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 3rdparty/zookeeper-3.4.8.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1745,3 +1745,28 @@ index dc3ab43e3..000000000
- <Globals>
- </Globals>
-</VisualStudioProject>
From 4343ef1db40ebe2a744326000eff725deb55f97f Mon Sep 17 00:00:00 2001
From: Kapil Arya <[email protected]>
Date: Thu, 16 Aug 2018 15:53:53 -0400
Subject: [PATCH] Backported a format error fix.

This patch backports https://github.com/apache/zookeeper/pull/559.
---
src/c/src/zookeeper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/c/src/zookeeper.c b/src/c/src/zookeeper.c
index 1ba90afa..a4c28e36 100644
--- a/src/c/src/zookeeper.c
+++ b/src/c/src/zookeeper.c
@@ -3440,7 +3440,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];
- char addrstr[128];
+ char addrstr[INET6_ADDRSTRLEN];
void *inaddr;
#ifdef WIN32
char * addrstring;
--
2.18.0

0 comments on commit 9805a87

Please sign in to comment.