* 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 <h/mh.h>
#endif
+/* Do mh alias substitution on 's' and return the results. */
char *
akvalue (char *s)
{
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;
}