summaryrefslogtreecommitdiff
path: root/cppsetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'cppsetup.c')
-rw-r--r--cppsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppsetup.c b/cppsetup.c
index 5824253..3b010cb 100644
--- a/cppsetup.c
+++ b/cppsetup.c
@@ -71,7 +71,7 @@ lookup_variable (IfParser *ip, const char *var, int len)
struct _parse_data *pd = (struct _parse_data *) ip->data;
if (len > MAXNAMELEN)
- return 0;
+ return NULL;
strncpy (tmpbuf, var, len);
tmpbuf[len] = '\0';