From: epg <> Date: Sun, 8 Sep 2002 03:51:08 +0000 (+0000) Subject: (scan_message): Don't set first elements of fromheader and subjheader to X-Git-Url: https://diplodocus.org/git/mdfrm/commitdiff_plain/755a89ba3762f88ab7210d103700a3e3c9b8fcd2?ds=inline;hp=755a89ba3762f88ab7210d103700a3e3c9b8fcd2 (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. ---