INN commit: branches/2.6/tests/lib (confparse-t.c)

INN Commit rra at isc.org
Thu May 5 12:41:49 UTC 2016


    Date: Thursday, May 5, 2016 @ 05:41:49
  Author: iulius
Revision: 10013

Fix the computation of sizeof(buf) for fgets()

Modified:
  branches/2.6/tests/lib/confparse-t.c

---------------+
 confparse-t.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: confparse-t.c
===================================================================
--- confparse-t.c	2016-05-05 12:41:10 UTC (rev 10012)
+++ confparse-t.c	2016-05-05 12:41:49 UTC (rev 10013)
@@ -18,7 +18,7 @@
 static char *
 read_section(FILE *file)
 {
-    char buf[1024] = "";
+    char buf[1024];
     char *data = NULL;
     char *status;
 



More information about the inn-committers mailing list