commit 097ab99b0158ec54817aa77cc142cec156964229 parent e49a3bc027fc5ef929d9460323b6b654b9886284 Author: Naveen Narayanan <zerous@nocebo.space> Date: Sun, 26 Sep 2021 18:53:09 +0200 Globalize variable Diffstat:
M | parser.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/parser.c b/parser.c @@ -12,8 +12,9 @@ #define MAXTOKENLEN 256 +char ip[16]; +char statmsg[BUFSZ]; static char token[MAXTOKENLEN]; -static char ip[16]; static char *tp; static char *lp; time_t probtim;