Rearranged whitespace (and comments) in all the code!
[mmh] / sbr / context_find.c
1 /*
2  * context_find.c -- find an entry in the context/profile list
3  *
4  * This code is Copyright (c) 2002, by the authors of nmh.  See the
5  * COPYRIGHT file in the root directory of the nmh distribution for
6  * complete copyright information.
7  */
8
9 #include <h/mh.h>
10
11
12 char *
13 context_find (char *str)
14 {
15         struct node *np;
16
17         for (np = m_defs; np; np = np->n_next)
18                 if (!mh_strcasecmp (np->n_name, str))
19                         return (np->n_field);
20
21         return NULL;
22 }