]> diplodocus.org Git - nmh/commitdiff
Clarified description in comments of context_find_by_type().
authorDavid Levine <levinedl@acm.org>
Fri, 30 May 2014 02:08:59 +0000 (21:08 -0500)
committerDavid Levine <levinedl@acm.org>
Fri, 30 May 2014 02:08:59 +0000 (21:08 -0500)
sbr/context_find.c

index 5cad0164144ac8b9497609d715a6466758cde790..ad70f069f9afc62a7e5e7ae448996ff038bcc68b 100644 (file)
@@ -25,8 +25,9 @@ context_find (const char *str)
 
 /*
  * Helper function to search first, if subtype is non-NULL, for
- * invoname-string-type/subtype and then invoname-string-type.
- * If entry is found but is empty, returns NULL.
+ * invoname-string-type/subtype and then, if not yet found,
+ * invoname-string-type.  If entry is found but is empty, it is
+ * treated as not found.
  */
 char *
 context_find_by_type (const char *string, const char *type,