Return to fio.c CVS log | Up to [local] / src / usr.bin / mail |
version 1.29, 2007/09/10 14:29:53 | version 1.30, 2007/10/05 14:39:39 | ||
---|---|---|---|
|
|
||
(void)fwrite(linebuf, sizeof(*linebuf), count, otf); | (void)fwrite(linebuf, sizeof(*linebuf), count, otf); | ||
if (ferror(otf)) | if (ferror(otf)) | ||
err(1, "/tmp"); | err(1, "/tmp"); | ||
if (count) | if (count && linebuf[count - 1] == '\n') | ||
linebuf[count - 1] = '\0'; | linebuf[count - 1] = '\0'; | ||
if (maybe && linebuf[0] == 'F' && ishead(linebuf)) { | if (maybe && linebuf[0] == 'F' && ishead(linebuf)) { | ||
msgCount++; | msgCount++; |