# HG changeset patch # User meillo@marmaro.de # Date 1274445956 -7200 # Node ID 8a92de5e8907116863a254ad51059d4a221c36a5 # Parent 1761b3bde6468c188697723192c9b3c551b90e21 fixed inverted condition for undefined online_file reported by Juergen Daubert via mailing list the bug was introduced by refactoring (seems we need automated testing) diff -r 1761b3bde646 -r 8a92de5e8907 src/online.c --- a/src/online.c Thu May 20 21:49:24 2010 +0200 +++ b/src/online.c Fri May 21 14:45:56 2010 +0200 @@ -84,7 +84,7 @@ if (strcmp(conf.online_detect, "file") == 0) { DEBUG(3) debugf("online detection method 'file'\n"); - if (conf.online_file != NULL) { + if (conf.online_file == NULL) { logwrite(LOG_ALERT, "online detection mode is 'file', but online_file is undefined\n"); return NULL; }