From 017bdc6e483fac6b31894bd26b45f2cd75276523 Mon Sep 17 00:00:00 2001 From: "D. Mitch Bailey" Date: Thu, 23 Oct 2025 08:30:08 +0000 Subject: [PATCH] Changed nested to static variable. Otherwise gets reset with each line. Signed-off-by: D. Mitch Bailey --- base/netfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/netfile.c b/base/netfile.c index e380777..539c372 100644 --- a/base/netfile.c +++ b/base/netfile.c @@ -302,7 +302,7 @@ int GetNextLineNoNewline(char *delimiter) { char *newbuf; int testc; - int nested = 0; + static int nested = 0; int llen; if (feof(infile)) return -1;