diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cleanup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleanup.c b/src/cleanup.c index 5e387a3..63a2238 100644 --- a/src/cleanup.c +++ b/src/cleanup.c @@ -1,7 +1,7 @@ #include "jurl.h" void jurl_do_cleanup(struct jurl_cleanup **src) { - while (src) { + while (*src) { struct jurl_cleanup *cur = *src; switch (cur->type) { case JURL_CLEANUP_TYPE_SLIST: |
