masqmail
changeset 307:e0de950ed497
bug fix: inverted condition
damn, we need regression testing!
author | meillo@marmaro.de |
---|---|
date | Sun, 24 Apr 2011 15:11:37 +0200 |
parents | 382e4260435d |
children | 86d8a3cf517d |
files | src/conf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/src/conf.c Sun Apr 24 15:10:48 2011 +0200 1.2 +++ b/src/conf.c Sun Apr 24 15:11:37 2011 +0200 1.3 @@ -468,7 +468,7 @@ 1.4 else { 1.5 char buf[256]; 1.6 FILE *fptr = fopen(rval, "rt"); 1.7 - if (fptr) { 1.8 + if (!fptr) { 1.9 logwrite(LOG_ALERT, "could not open %s: %s\n", rval, strerror(errno)); 1.10 return FALSE; 1.11 }