fix '0' array filling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39ae60f7d8
commit
ddbf2915aa
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;
|
int nbytes = 0;
|
||||||
char encoder[128], *ec = 0;
|
char encoder[128], *ec = 0;
|
||||||
|
|
||||||
memset (newformat, 0, sizeof (char *));
|
memset (newformat, 0, sizeof (newformat));
|
||||||
|
|
||||||
while (*p) {
|
while (*p) {
|
||||||
switch(state) {
|
switch(state) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue