diff --git a/src/dorem.c b/src/dorem.c index e14574d3..91bd7c1c 100644 --- a/src/dorem.c +++ b/src/dorem.c @@ -208,7 +208,7 @@ int DoRem(ParsePtr p) DBufInit(&buf); /* Parse the trigger date and time */ - if ( (r=ParseRem(p, &trig, &tim)) ) { + if ( (r=ParseRem(p, &trig, &tim)) != OK ) { FreeTrig(&trig); return r; }