From 678813042577102b9d41f2c41752ffd91d878803 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 28 Nov 1998 16:44:42 +0000 Subject: Generate correct for clauses in trace headers. svn path=/trunk/; revision=2223 --- driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 0e63c19d..efbbec4c 100644 --- a/driver.c +++ b/driver.c @@ -880,7 +880,7 @@ static int readheaders(int sock, long fetchlen, long reallen, struct query *ctl, if (good_addresses == 0) { sprintf(buf+1, - "for <%s@%s> (by default); ", + "for %s@%s (by default); ", user, ctl->destaddr); } else if (good_addresses == 1) @@ -889,9 +889,9 @@ static int readheaders(int sock, long fetchlen, long reallen, struct query *ctl, if (idp->val.status.mark == XMIT_ACCEPT) break; /* only report first address */ if (strchr(idp->id, '@')) - sprintf(buf+1, "for <%s>", idp->id); + sprintf(buf+1, "for %s", idp->id); else - sprintf(buf+1, "for <%s/%s>", idp->id, ctl->destaddr); + sprintf(buf+1, "for %s/%s", idp->id, ctl->destaddr); sprintf(buf+strlen(buf), " (%s); ", MULTIDROP(ctl) ? "multi-drop" : "single-drop"); } -- cgit v1.2.3