| Date: Fri, 3 Mar 2006 14:11:50 +0000
cleanup
Diffstat:
M src/cmd/upas/marshal/marshal.c | 4 ----
M src/cmd/upas/nfs/fs.c | 1 -
M src/cmd/upas/smtp/mxdial.c | 2 +-
3 files changed, 1 insertion(+), 6 deletions(-)
--- |
| t@@ -327,7 +327,6 @@ threadmain(int argc, char **argv)
fd = sendmail(to, cc, &pid, Fflag ? argv[0] : nil);
if(fd < 0)
sysfatal("execing sendmail: %r\n:");
-fprint(2, "sendmail fd %d\n", fd);
if(xflag || lbflag || dflag){
close(fd);
threadexitsall(waitforsubprocs());
t@@ -1106,10 +1105,7 @@ sendmail(Addr *to, Addr *cc, int *pid, char *rcvr)
/* threadspawn closed pfd[0] (== xfd[0]) */
sfd = pfd[1];
-fprint(2, "exec'ed %s\n", x);
-
if(rcvr != nil){
-fprint(2, "rcvr\n");
if(pipe(pfd) < 0)
fatal("pipe: %r");
seek(fd, 0, 2); |
| t@@ -768,7 +768,6 @@ boxgen(int i, Dir *d, void *aux)
Box *box;
box = aux;
-if(i==0) fprint(2, "boxgen %s %d nsub=%d nmsg=%d\n", box->name, i, box->nsub, box->nmsg);
if(i == 0)
return filldir(d, Qboxctl, box, nil, nil);
i--; |
| t@@ -103,7 +103,7 @@ callmx(DS *ds, char *dest, char *domain)
snprint(addr, sizeof(addr), "%s/%s!%s!%s", ds->netdir, ds->proto,
mx[i].host, ds->service);
if(debug)
- fprint(2, "mxdial trying %s\n", addr);
+ fprint(2, "mxdial trying %s (%d)\n", addr, i);
atnotify(timeout, 1);
alarm(10*1000);
fd = dial(addr, 0, 0, 0); |