X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..82a21b6f3cddf8ab048dcb02c080ea9797c73c5a:/uip/aliasbr.c diff --git a/uip/aliasbr.c b/uip/aliasbr.c index 8ea8c13e..19f204fa 100644 --- a/uip/aliasbr.c +++ b/uip/aliasbr.c @@ -3,6 +3,10 @@ * aliasbr.c -- new aliasing mechanism * * $Id$ + * + * 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 @@ -47,6 +51,7 @@ struct home *seek_home (char *); #endif +/* Do mh alias substitution on 's' and return the results. */ char * akvalue (char *s) { @@ -450,11 +455,12 @@ getalias (char *addrs) if (*qp == ',') *qp++ = 0; for (cp = qp, qp--; qp > pp; qp--) - if (*qp != 0) + if (*qp != 0) { if (isspace (*qp)) *qp = 0; else break; + } return pp; }