[marillat at debian.org: Bug#178673: inn2-inews: rnews is broken]
Russ Allbery
rra at stanford.edu
Tue Jan 28 18:37:23 UTC 2003
Jeffrey M Vinocur <jeff at litech.org> writes:
> Ho ho. So it's gotten to the fgets() here:
> /* Send the article to the server. */
> if (fwrite(wirefmt, length, 1, ToServer) != 1) {
> free(wirefmt);
> sysnotice("cant sendarticle");
> return false;
> }
> free(wirefmt);
> /* Process server reply code. */
> if (fgets(buff, sizeof buff, FromServer) == NULL) {
> And blocks waiting for the server reply, I think because we forgot to
> flush after the fwrite() above.
> Do I win?
Yup, I think you win. Will go fix now.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list