]> diplodocus.org Git - mdfrm/commit
(scan_message): Don't set first elements of fromheader and subjheader to
authorepg <>
Sun, 8 Sep 2002 03:51:08 +0000 (03:51 +0000)
committerepg <>
Sun, 8 Sep 2002 03:51:08 +0000 (03:51 +0000)
commit755a89ba3762f88ab7210d103700a3e3c9b8fcd2
treefa1f735209426c64e1f4cd4deccda6f810f06df1
parentc29cb683b9f9bacb2893b616546b89d0589248ac
(scan_message): Don't set first elements of fromheader and subjheader to
'\0'; that was pointless.  Don't assign to line[--len], only decrement
len; line is a private buffer beloging to fgetln and we should not be
scribbling in it; this was also pointless anyway.  Set
fromheader[fromcount] to '\0' after copying the characters from line
into it; do the same for subjheader.
mdfrm.c