summaryrefslogtreecommitdiff
path: root/cgi-bin/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin/help.c')
-rw-r--r--cgi-bin/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/help.c b/cgi-bin/help.c
index 07f6f27..df33926 100644
--- a/cgi-bin/help.c
+++ b/cgi-bin/help.c
@@ -271,7 +271,7 @@ main(int argc, /* I - Number of command-line arguments */
section = n->section;
}
- if (!topic || strcmp(n->section, topic))
+ if (!topic || !n->section || strcmp(n->section, topic))
continue;
/*