🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by No spam please Fri, 07 Mar 1997 00:00
nntpclnt-1.6.1 small auth bug
#15610
Author: No spam please
Date: Fri, 07 Mar 1997 00:00
42 lines
1567 bytes
Just two buglets that have been there for a long time.  The address in the
README file bounced.  I got my copy from ftp.uu.net.  Is there a newer
version?

Stephen
s l 1 4 @ c o r n e l l . e d u


diff -cr nntpclnt-1.6.1/postauth.c nntpclnt-1.6.1-sl/postauth.c
*** nntpclnt-1.6.1/postauth.c	Thu Aug 11 17:37:52 1994
--- nntpclnt-1.6.1-sl/postauth.c	Sun Mar  2 06:41:51 1997
***************
*** 31,37 ****
  {
  	char authtype[NNTP_STRLEN];
  	int i, rcode;
! 	if((i = sscanf(response,"%d %s", rcode, authtype)) != 2)
  		return(-1);
  #ifdef AUTHSIMPLE
  	if (!strcasecmp(authtype,"SIMPLE"))
--- 31,37 ----
  {
  	char authtype[NNTP_STRLEN];
  	int i, rcode;
! 	if((i = sscanf(response,"%d %s", &rcode, authtype)) != 2)
  		return(-1);
  #ifdef AUTHSIMPLE
  	if (!strcasecmp(authtype,"SIMPLE"))
***************
*** 155,160 ****
--- 155,162 ----
  		return(-1);
  	}
  	fclose(passfile);
+ 
+         return(0);
  }
  #endif
  int

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