Missing \n in inews.c

Russell Vincent russellv at uk.uu.net
Tue Sep 7 13:30:26 UTC 1999


inn/frontends/inews.c
 - missing '\n' in a couple of error reports

(Patch to -stable, but should work on -current too)

 -Russell

Index: inn/frontends/inews.c
===================================================================
RCS file: /news/cvs/inn/frontends/inews.c,v
retrieving revision 1.15.2.5
diff -c -r1.15.2.5 inews.c
*** inews.c	1999/08/22 06:25:10	1.15.2.5
--- inews.c	1999/09/07 13:28:23
***************
*** 129,140 ****
  	(void)fprintf(stderr, "(Article not posted.)\n");
      (void)fprintf(ToServer, "quit\r\n");
      if (FLUSH_ERROR(ToServer)) {
! 	(void)fprintf(stderr, "Can't send quit to server, %s",
  		strerror(errno));
  	exit(1);
      }
      if (fgets(buff, sizeof buff, FromServer) == NULL) {
! 	(void)fprintf(stderr, "Warning -- server did not reply to quit, %s",
  		strerror(errno));
  	exit(1);
      }
--- 129,140 ----
  	(void)fprintf(stderr, "(Article not posted.)\n");
      (void)fprintf(ToServer, "quit\r\n");
      if (FLUSH_ERROR(ToServer)) {
! 	(void)fprintf(stderr, "Can't send quit to server, %s\n",
  		strerror(errno));
  	exit(1);
      }
      if (fgets(buff, sizeof buff, FromServer) == NULL) {
! 	(void)fprintf(stderr, "Warning -- server did not reply to quit, %s\n",
  		strerror(errno));
  	exit(1);
      }


More information about the inn-patches mailing list