dont call vprintf if pformat is NULL
This commit is contained in:
@@ -77,7 +77,9 @@ void errPrintf(long status, const char *pFileName,
|
||||
printf("%s ",name);
|
||||
}
|
||||
}
|
||||
vprintf(pformat,pvar);
|
||||
if (pformat) {
|
||||
vprintf(pformat,pvar);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user