X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Faliasbr.c;h=19f204faa9ad177bae87a9ab5e73bd243dbc263b;hp=8ea8c13e12f41aee84ccb4eaedb7745774e9fe8d;hb=6c42153ad9362cc676ea66563bf400d7511b3b68;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/aliasbr.c b/uip/aliasbr.c index 8ea8c13..19f204f 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; }