🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Stan Barber Mon, 15 May 1989 23:26
Addendum to patch 4 for nntp
#172
Author: Stan Barber
Date: Mon, 15 May 1989 23:26
50 lines
2324 bytes
Brian Kantor sent me a letter informing me that 5XX codes were for
REALLY bad things like the CPU being on fire and such and wants 
the 4XX codes use for out-of-space problems.

The following patch addresses this change. Patch 4 in the archive will be
changes to make this happen.

*** serve.c	Sat Jan 14 23:22:40 1989
--- ../../nntp_patch/server/serve.c	Mon May 15 18:23:05 1989
***************
*** 142,148 ****
  
  	if (space() < 0 && !canpost ) {
  		printf("%d %s NNTP server out of space. Try later.\r\n",
! 			ERR_FAULT, host);
  		(void) fflush(stdout);
  #ifdef LOG
  		syslog(LOG_INFO, "%s no space", hostname);
--- 142,148 ----
  
  	if (space() < 0 && !canpost ) {
  		printf("%d %s NNTP server out of space. Try later.\r\n",
! 			ERR_GOODBYE, host);
  		(void) fflush(stdout);
  #ifdef LOG
  		syslog(LOG_INFO, "%s no space", hostname);
***************
*** 177,183 ****
  	 */
  	if (num_groups == 0){ /* can't get a group list */
  		printf("%d %s NNTP server unavailable. Try later.\r\n",
! 			ERR_FAULT, host);
  		(void) fflush(stdout);
  #ifdef LOG
  		syslog(LOG_INFO, "%s no groups", hostname);
--- 177,183 ----
  	 */
  	if (num_groups == 0){ /* can't get a group list */
  		printf("%d %s NNTP server unavailable. Try later.\r\n",
! 			ERR_GOODBYE, host);
  		(void) fflush(stdout);
  #ifdef LOG
  		syslog(LOG_INFO, "%s no groups", hostname);



Stan           internet: sob@bcm.tmc.edu         Manager, Networking
Olan           uucp: {rutgers,mailrus}!bcm!sob   Information Technology
Barber         Opinions expressed are only mine. Baylor College of Medicine
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads