From a1cb4fa01c20606b18ebcb5111c5487f72fee422 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 13 Nov 2016 00:10:37 +0000 Subject: [PATCH] socktest: move buffer to static --- Applications/util/socktest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/util/socktest.c b/Applications/util/socktest.c index 7f235e23..95c74f6c 100644 --- a/Applications/util/socktest.c +++ b/Applications/util/socktest.c @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) int fd, fd2; int r; unsigned long t = 0; - char buf[512]; + static char buf[512]; static char line[81]; char *lp; char *p; -- 2.34.1