fix '0' array filling

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-18 02:22:15 +00:00
commit 3771cae538

View file

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