ref: e20dcb151ac7fdd1673b02c144c0a22ae407452b
parent: 415c110b284bdd519e6dedcfea97e45edcb8977a
author: Michael Forney <[email protected]>
date: Sun Feb 7 15:17:06 EST 2021
[9front] upas/vf: remove debugging print statements These messages aren't useful and were presumably left over from someone debugging this code.
--- a/sys/src/cmd/upas/vf/vf.c
+++ b/sys/src/cmd/upas/vf/vf.c
@@ -505,19 +505,15 @@
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 @@
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 @@
Bwrite(&out, cp, Blinelen(&in));
}
-fprint(2, "a %p\n", np);
return np;
}