]> diplodocus.org Git - nmh/blobdiff - sbr/context_find.c
Print pointers in debug with C99's `%p' rather than `0x%x'.
[nmh] / sbr / context_find.c
index 3a7b920d1fead2b807ac0198be1bee66fa6cf84a..4d89fbc5fe5013b46db3bdca5f71d93b56da5810 100644 (file)
@@ -14,7 +14,7 @@ context_find (const char *str)
     struct node *np;
 
     for (np = m_defs; np; np = np->n_next)
-       if (!strcasecmp (np->n_name ? np->n_name : "", str ? str : ""))
+       if (!strcasecmp (FENDNULL(np->n_name), FENDNULL(str)))
            return (np->n_field);
 
     return NULL;