From 2d7da86e8ca846e7affb3a10aaa6740bc10b1a13 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Fri, 7 Jul 2006 20:10:11 +0000 Subject: [PATCH] Fix thinko in err.c, possibly fixing #165 --- src/err.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/err.c b/src/err.c index 3bdc0979..a56333d8 100644 --- a/src/err.c +++ b/src/err.c @@ -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);