X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bddd9ca00cd2e2e73aded115a59614af3a74a6cb..4f28cd1669089292f6e34f14617d4a8c1354647b:/uip/aliasbr.c diff --git a/uip/aliasbr.c b/uip/aliasbr.c index e5163a01..22252d72 100644 --- a/uip/aliasbr.c +++ b/uip/aliasbr.c @@ -5,10 +5,13 @@ * complete copyright information. */ -#include -#include -#include -#include +#include "h/mh.h" +#include "sbr/concat.h" +#include "sbr/vfgets.h" +#include "sbr/getcpy.h" +#include "h/aliasbr.h" +#include "h/addrsbr.h" +#include "h/utils.h" #include static int akvis; @@ -154,7 +157,7 @@ aleq (char *string, char *aliasent) aliasent++; } - return (*aliasent == 0 || *aliasent == '*'); + return *aliasent == 0 || *aliasent == '*'; } @@ -343,13 +346,13 @@ getalias (char *addrs) if (cp == NULL) cp = addrs; else if (*cp == 0) - return (cp = NULL); + return cp = NULL; /* Remove leading any space from the address. */ for (pp = cp; isspace ((unsigned char) *pp); pp++) continue; if (*pp == 0) - return (cp = NULL); + return cp = NULL; /* Find the end of the address. */ for (qp = pp; *qp != 0 && *qp != ','; qp++) continue;