summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.h b/include/network.h
index 3248245..dfc3015 100644
--- a/include/network.h
+++ b/include/network.h
@@ -81,7 +81,7 @@ enum {
#define BUILD_NETMSG(ct, query) \
({ \
- char __net[4096]; \
+ static char __net[4096]; \
struct nethdr *__hdr = (struct nethdr *) __net; \
memset(__hdr, 0, NETHDR_SIZ); \
nethdr_set(__hdr, query); \