Reformated comments and long lines
[mmh] / sbr / context_replace.c
index dbe1014..bb49a90 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * context_replace.c -- add/replace an entry in the context/profile list
- *
- * This code is Copyright (c) 2002, by the authors of nmh.  See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** context_replace.c -- add/replace an entry in the context/profile list
+**
+** This code is Copyright (c) 2002, by the authors of nmh.  See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
 
 #include <h/mh.h>
 #include <h/utils.h>
@@ -16,8 +16,8 @@ context_replace (char *key, char *value)
        register struct node *np;
 
        /*
-        * If list is emtpy, allocate head of profile/context list.
-        */
+       ** If list is emtpy, allocate head of profile/context list.
+       */
        if (!m_defs) {
                m_defs = (struct node *) mh_xmalloc (sizeof(*np));
 
@@ -31,9 +31,9 @@ context_replace (char *key, char *value)
        }
 
        /*
-        * Search list of context/profile entries for
-        * this key, and replace its value if found.
-        */
+       ** Search list of context/profile entries for
+       ** this key, and replace its value if found.
+       */
        for (np = m_defs;; np = np->n_next) {
                if (!mh_strcasecmp (np->n_name, key)) {
                        if (strcmp (value, np->n_field)) {
@@ -51,8 +51,8 @@ context_replace (char *key, char *value)
        }
 
        /*
-        * Else add this new entry at the end
-        */
+       ** Else add this new entry at the end
+       */
        np->n_next = (struct node *) mh_xmalloc (sizeof(*np));
 
        np = np->n_next;