From 3771cae5384f2128e153fdf0775ac017faf7d23c Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Mon, 18 Oct 2004 02:22:15 +0000 Subject: [PATCH] fix '0' array filling git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6433 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/DOH/fio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DOH/fio.c b/Source/DOH/fio.c index 6fa682e49..1487efe1b 100644 --- a/Source/DOH/fio.c +++ b/Source/DOH/fio.c @@ -105,7 +105,7 @@ DohvPrintf(DOH *so, const char *format, va_list ap) int nbytes = 0; char encoder[128], *ec = 0; - memset (newformat, 0, sizeof (char *)); + memset (newformat, 0, sizeof (newformat)); while (*p) { switch(state) {