Newsgroups: news.software.nntp,news.software.b From: davison@borland.com (Wayne Davison) Subject: Re: Adding "nov" support to nntp1.5.11 Message-ID: Organization: Borland International References: <1ha7fdINNi1l@rodan.UU.NET> Date: Thu, 24 Dec 1992 10:18:25 GMT rsalz@rodan.UU.NET (Rich Salz) wrote: > I have compiled this but I have not tested it. I noticed a couple obvious bugs. I haven't tested it either, though (yet). > + if (argc != 1 & argc != 2) { This should be '&&', not '&'. > + if (argc == 1) { > + while ((c = getc(fp)) != EOF) { > + if (c == '\n') > + (void) putchar('\n'); > + putchar(c); > + } > + } I assume you meant the putchar('\n') to be a putchar('\r'). ..wayne..