summaryrefslogtreecommitdiff
path: root/outrdf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'outrdf2.c')
-rw-r--r--outrdf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/outrdf2.c b/outrdf2.c
index 4ae6799b..6bbb989b 100644
--- a/outrdf2.c
+++ b/outrdf2.c
@@ -200,7 +200,7 @@ static long rdf2_section_names(char *name, int pass, int *bits)
/*
* see if we have an optional ',number' following the type code
*/
- if ((q = strchr(p, ','))) {
+ if ((q = strchr(p, ',')) != NULL) {
*q++ = '\0';
reserved = readnum(q, &i);