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) {