diff options
author | Michael Forney <mforney@mforney.org> | 2021-02-07 20:17:06 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-02-07 20:17:06 -0800 |
commit | e20dcb151ac7fdd1673b02c144c0a22ae407452b (patch) | |
tree | baa26fc481623e75a2c96bfcf2902f8ce1a746e9 | |
parent | 415c110b284bdd519e6dedcfea97e45edcb8977a (diff) | |
download | plan9front-e20dcb151ac7fdd1673b02c144c0a22ae407452b.tar.xz |
[9front] upas/vf: remove debugging print statements
These messages aren't useful and were presumably left over from
someone debugging this code.
-rw-r--r-- | sys/src/cmd/upas/vf/vf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/src/cmd/upas/vf/vf.c b/sys/src/cmd/upas/vf/vf.c index 752d89f4c..d527dc7b2 100644 --- a/sys/src/cmd/upas/vf/vf.c +++ b/sys/src/cmd/upas/vf/vf.c @@ -505,19 +505,15 @@ problemchild(Part *p) if(justreject) return p; -fprint(2, "x\n"); syslog(0, "mail", "vf wrapped %s %s", p->type?s_to_c(p->type):"?", p->filename?s_to_c(p->filename):"?"); -fprint(2, "x\n"); boundary = mkboundary(); -fprint(2, "x\n"); /* print out non-mime headers */ for(hl = p->hl; hl != nil; hl = hl->next) if(cistrncmp(s_to_c(hl->s), "content-", 8) != 0) Bprint(&out, "%s", s_to_c(hl->s)); -fprint(2, "x\n"); /* add in our own multipart headers and message */ Bprint(&out, "Content-Type: multipart/mixed;\n"); Bprint(&out, "\tboundary=\"%s\"\n", s_to_c(boundary)); @@ -561,11 +557,9 @@ fprint(2, "x\n"); break; } -fprint(2, "z\n"); /* pass the body */ np = passbody(p, 0); -fprint(2, "w\n"); /* add the new boundary and the original terminator */ Bprint(&out, "--%s--\n", s_to_c(boundary)); if(np && np->boundary){ @@ -573,7 +567,6 @@ fprint(2, "w\n"); Bwrite(&out, cp, Blinelen(&in)); } -fprint(2, "a %p\n", np); return np; } |