From 2fb644e0ba2e6b3c30757ad16da831630fa0ecef Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 24 May 2013 22:05:18 +0000 Subject: [PATCH] - crule: evaluate currarg correctly --- src/crule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crule.c b/src/crule.c index 5ec27c2a9..03d24c079 100644 --- a/src/crule.c +++ b/src/crule.c @@ -631,7 +631,7 @@ int crule_parsearglist(crule_treeptr argrootp, int *next_tokp, char **ruleptr) #if !defined(CR_DEBUG) && !defined(CR_CHKCONF) (void)collapse(currarg); #endif - if (!BadPtr(currarg)) + if (*currarg) { DupString(argelemp, currarg); argrootp->arg[argrootp->numargs++] =