aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gg_map/gg_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c
index 9678938..0b4d529 100644
--- a/gg_map/gg_map.c
+++ b/gg_map/gg_map.c
@@ -24,7 +24,7 @@ _cb_ecore_libevent(void *data) {
const char *ip_to_str(u_int ip)
{
unsigned char bytes[4];
- char buf[16];
+ static char buf[16];
bytes[0] = ip & 0xFF;
bytes[1] = (ip >> 8) & 0xFF;