masqmail
diff src/conf.c @ 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 | fc1c6425c024 |
children | f10a56dc7481 |
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 }