Fix thinko in err.c, possibly fixing #165

This commit is contained in:
Ron Pedde 2006-07-07 20:10:11 +00:00
parent 8c0561f144
commit 2d7da86e8c

View File

@ -216,7 +216,7 @@ int err_settruncate(int truncate) {
return TRUE;
err_truncate = truncate;
if((err_truncate) && (err_filename)) {
if((err_truncate) && (err_file)) {
file=strdup(err_filename);
err_setlogfile(err_filename);
if(file) free(file);