SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.14
-static char sccsid[] = "@(#)parseaddr.c 8.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)parseaddr.c 8.14 (Berkeley) %G%";
#endif /* not lint */
#include "sendmail.h"
#endif /* not lint */
#include "sendmail.h"
register struct rewrite *rwr; /* pointer to current rewrite rule */
int ruleno; /* current rule number */
int rstat = EX_OK; /* return status */
register struct rewrite *rwr; /* pointer to current rewrite rule */
int ruleno; /* current rule number */
int rstat = EX_OK; /* return status */
int subr; /* subroutine number if >= 0 */
bool dolookup; /* do host aliasing */
char *npvp[MAXATOM+1]; /* temporary space for rebuild */
int subr; /* subroutine number if >= 0 */
bool dolookup; /* do host aliasing */
char *npvp[MAXATOM+1]; /* temporary space for rebuild */
for (rwr = RewriteRules[ruleset]; rwr != NULL; )
{
for (rwr = RewriteRules[ruleset]; rwr != NULL; )
{
if (tTd(21, 12))
{
printf("-----trying rule:");
if (tTd(21, 12))
{
printf("-----trying rule:");
printf("----- rule fails\n");
rwr = rwr->r_next;
ruleno++;
printf("----- rule fails\n");
rwr = rwr->r_next;
ruleno++;
nmatches = 0;
continue;
}
nmatches = 0;
continue;
}
rvp++;
rwr = rwr->r_next;
ruleno++;
rvp++;
rwr = rwr->r_next;
ruleno++;
nmatches = 0;
}
else if ((*rp & 0377) == CANONHOST)
nmatches = 0;
}
else if ((*rp & 0377) == CANONHOST)