Revision 8d86e2bf monitor.c

b/monitor.c
1136 1136
    time_t when;
1137 1137
    int rc;
1138 1138

  
1139
    if (strcmp(whenstr, "now")) {
1139
    if (strcmp(whenstr, "now") == 0) {
1140 1140
        when = 0;
1141
    } else if (strcmp(whenstr, "never")) {
1141
    } else if (strcmp(whenstr, "never") == 0) {
1142 1142
        when = TIME_MAX;
1143 1143
    } else if (whenstr[0] == '+') {
1144 1144
        when = time(NULL) + strtoull(whenstr+1, NULL, 10);

Also available in: Unified diff