mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 01:05:15 +03:00
11 lines
299 B
Diff
11 lines
299 B
Diff
--- a/src/zookeeper.c
|
|
+++ b/src/zookeeper.c
|
|
@@ -3477,7 +3477,7 @@
|
|
|
|
static const char* format_endpoint_info(const struct sockaddr_storage* ep)
|
|
{
|
|
- static char buf[128];
|
|
+ static char buf[128 + 6]; // include space for the port :xxxxx
|
|
char addrstr[128];
|
|
void *inaddr;
|
|
#ifdef WIN32
|