]> diplodocus.org Git - nmh/blobdiff - sbr/context_find.c
Various IMAP protocol improvements
[nmh] / sbr / context_find.c
index c6ae2d8c8b14ae1f57faef9e1498049f61a315d0..e312bceb4776f8d342ad181fd2c1397ee6dd3084 100644 (file)
@@ -16,7 +16,7 @@ context_find (const char *str)
     str = FENDNULL(str);
     for (np = m_defs; np; np = np->n_next)
        if (!strcasecmp(FENDNULL(np->n_name), str))
-           return (np->n_field);
+           return np->n_field;
 
     return NULL;
 }
@@ -30,7 +30,8 @@ context_find (const char *str)
  */
 char *
 context_find_by_type (const char *string, const char *type,
-                      const char *subtype) {
+                      const char *subtype)
+{
     char *value = NULL;
 
     if (subtype) {
@@ -58,7 +59,8 @@ context_find_by_type (const char *string, const char *type,
  * The search is case insensitive.
  */
 int
-context_find_prefix (const char *prefix) {
+context_find_prefix (const char *prefix)
+{
     struct node *np;
     size_t len;