delete debugging
This commit is contained in:
parent
22ba8d1fe4
commit
7722ad0044
1 changed files with 0 additions and 5 deletions
|
|
@ -629,20 +629,15 @@ body64(Biobuf *in, Biobuf *out)
|
||||||
Bprint(out, "\n");
|
Bprint(out, "\n");
|
||||||
for(;;){
|
for(;;){
|
||||||
n = Bread(in, buf, sizeof(buf));
|
n = Bread(in, buf, sizeof(buf));
|
||||||
fprint(2,"read %d bytes\n",n);
|
|
||||||
if(n < 0)
|
if(n < 0)
|
||||||
fatal("input error");
|
fatal("input error");
|
||||||
if(n == 0)
|
if(n == 0)
|
||||||
break;
|
break;
|
||||||
m = enc64(obuf, sizeof(obuf), buf, n);
|
m = enc64(obuf, sizeof(obuf), buf, n);
|
||||||
fprint(2,"encoded %d bytes\n",m);
|
|
||||||
fprint(2,"writing to %x\n",out);
|
|
||||||
if((n=Bwrite(out, obuf, m)) < 0)
|
if((n=Bwrite(out, obuf, m)) < 0)
|
||||||
fatal("output error");
|
fatal("output error");
|
||||||
fprint(2,"wrote %d bytes\n",n);
|
|
||||||
}
|
}
|
||||||
lastchar = '\n';
|
lastchar = '\n';
|
||||||
fprint(2,"done with attachment\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// pass message to sendmail, make sure body starts with a newline
|
// pass message to sendmail, make sure body starts with a newline
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue