🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Sat, 28 Jul 1990 02:25
telnet close command causes premature exit (+FIX)
#71
Author: Steven M. Schultz
Date: Sat, 28 Jul 1990 02:25
35 lines
1333 bytes
Subject: telnet close command causes premature exit (+FIX)
Index:	ucb/telnet.c 2.10BSD

Description:
	The "close" command causes telnet to exit rather than closing
	the connection and returning to the command loop.

Repeat-By:
	Establish a telnet connection, escape (^]) back to the
	telnet command prompt and type "close".  Note that telnet
	exits rather than permitting another connection to be opened.

Fix:

	Change the return value of bye() to 0 rather than 1.

*** telnet.c.old	Thu Mar 12 11:45:15 1987
--- telnet.c	Fri Jul 27 14:25:20 1990
***************
*** 1985,1991 ****
  		for (op = hisopts; op < &hisopts[256]; op++)
  			*op = 0;
  	}
! 	return 1;
  }
  
  /*VARARGS*/
--- 1985,1991 ----
  		for (op = hisopts; op < &hisopts[256]; op++)
  			*op = 0;
  	}
! 	return 0;
  }
  
  /*VARARGS*/
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