tcleanup - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit fe02cd59570492c457b3e953ae4f95f7c896cd96
parent c87c064d4a788fc8bceeeed0b5dcf477b624a95d
Author: rsc 
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(-)
---
diff --git a/src/cmd/upas/marshal/marshal.c b/src/cmd/upas/marshal/marshal.c
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);
diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c
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--;
diff --git a/src/cmd/upas/smtp/mxdial.c b/src/cmd/upas/smtp/mxdial.c
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);