Path: utzoo!attcan!uunet!husc6!purdue!decwrl!labrea!weening From: weening@labrea.Stanford.EDU (Joe Weening) Newsgroups: news.software.b Subject: Re: Problem with recnews Message-ID: <22757@labrea.Stanford.EDU> Date: 19 Jun 88 20:53:49 GMT References: <22740@labrea.Stanford.EDU> Reply-To: weening@labrea.Stanford.EDU (Joe Weening) Organization: Stanford University Lines: 23 I've discovered what was inserting the '\' characters into our "From" lines (and "To" and "Subject" lines as well, if they contained '"' characters). The following patch to recnews.c fixes the problem: *** recnews.c.old Thu Dec 3 23:52:27 1987 --- recnews.c Sun Jun 19 13:40:34 1988 *************** *** 389,394 **** if (*cmd++ == '"') { register char *bcp = cmd-1; ! while (*cmd && *cmd != '"') *bcp++ = *cmd++; *bcp = '\0'; cmd++; --- 389,396 ---- if (*cmd++ == '"') { register char *bcp = cmd-1; ! while (*cmd && *cmd != '"') { ! if (*cmd == '\\') cmd++; *bcp++ = *cmd++; + } *bcp = '\0'; cmd++;