fixed argument processing bug
authorMartin Willi <martin@strongswan.org>
Wed, 26 Sep 2007 15:07:34 +0000 (15:07 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 26 Sep 2007 15:07:34 +0000 (15:07 -0000)
src/manager/lib/request.c

index e029c0d..42cd9df 100644 (file)
@@ -121,7 +121,7 @@ static int iterenv_cb(void *null, int num, char **key, char **value)
        *key = NULL;
        *value = NULL;
 
-       if (num > req_env_len)
+       if (num < req_env_len)
        {
                char *eq;