summaryrefslogtreecommitdiff
path: root/pith/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/string.c')
-rw-r--r--pith/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/string.c b/pith/string.c
index 59506670..533fe28a 100644
--- a/pith/string.c
+++ b/pith/string.c
@@ -1930,7 +1930,7 @@ get_pair(char *string, char **label, char **value, int firstws, int strip_intern
*p = '\0'; /* tie off label */
fs_give((void **)&tmp);
- if(*label == '\0')
+ if(*label == NULL)
fs_give((void **)label);
}
else