X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..39ecf70bb:/uip/forwsbr.c?ds=sidebyside diff --git a/uip/forwsbr.c b/uip/forwsbr.c index 2a7347ab..4f76c386 100644 --- a/uip/forwsbr.c +++ b/uip/forwsbr.c @@ -10,13 +10,14 @@ #include #include #include +#include "../sbr/m_mktemp.h" /* * Take from replsbr.c - a buffer big enough to read in data header lines * in reasonable chunks but not enough to slurp in the whole message */ -static char msgbuf[256]; +static char msgbuf[NMH_BUFSIZ]; #define COMPFREE(c) mh_xfree(c->c_text) /* @@ -188,7 +189,7 @@ finished: if (fclose (tmp)) adios (tmpfil, "error writing"); - lseek (in, (off_t) 0, SEEK_SET); + lseek(in, 0, SEEK_SET); /* * Free any component buffers that we allocated