aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-03-03 14:11:50 +0000
committerrsc <devnull@localhost>2006-03-03 14:11:50 +0000
commitfe02cd59570492c457b3e953ae4f95f7c896cd96 (patch)
treee181b16725b1fca3a4221b97f86478c0df364a91 /src/cmd/upas
parentc87c064d4a788fc8bceeeed0b5dcf477b624a95d (diff)
downloadplan9port-fe02cd59570492c457b3e953ae4f95f7c896cd96.tar.gz
plan9port-fe02cd59570492c457b3e953ae4f95f7c896cd96.tar.bz2
plan9port-fe02cd59570492c457b3e953ae4f95f7c896cd96.zip
cleanup
Diffstat (limited to 'src/cmd/upas')
-rw-r--r--src/cmd/upas/marshal/marshal.c4
-rw-r--r--src/cmd/upas/nfs/fs.c1
-rw-r--r--src/cmd/upas/smtp/mxdial.c2
3 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/upas/marshal/marshal.c b/src/cmd/upas/marshal/marshal.c
index 2e24c121..fbc06cf6 100644
--- a/src/cmd/upas/marshal/marshal.c
+++ b/src/cmd/upas/marshal/marshal.c
@@ -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());
@@ -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);
diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c
index c9cdd99b..2b94e978 100644
--- a/src/cmd/upas/nfs/fs.c
+++ b/src/cmd/upas/nfs/fs.c
@@ -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--;
diff --git a/src/cmd/upas/smtp/mxdial.c b/src/cmd/upas/smtp/mxdial.c
index c4d477f1..47ff9ecc 100644
--- a/src/cmd/upas/smtp/mxdial.c
+++ b/src/cmd/upas/smtp/mxdial.c
@@ -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);