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:
parent
50b87f398b
commit
3771cae538
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue