🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by M.W.Guy Fri, 03 Feb 1989 07:39
Bug fix to nntp server
#109
Author: M.W.Guy
Date: Fri, 03 Feb 1989 07:39
39 lines
1293 bytes
File:
	server/newnews.c

Problem:
	It is only slight - when you say

		newnews <group> <date>

	it fails to show the first article posted since that
	date - it shows all the others.

Patch:

*** newnews.c.old	Fri Feb  3 07:32:08 1989
--- newnews.c	Thu Feb  2 14:36:11 1989
***************
*** 302,307 ****
--- 302,314 ----
  		case -2:
  		case -1:
  		case 0:
+ 			/*
+ 			 * Seek back to "bot" so we are
+ 			 * in the right position for reading
+ 			 * lines - otherwise we will miss
+ 			 * the first one.
+ 			 */
+ 			(void) fseek(fp, bot, 0);
  			break;
  		case 1:
  		case 2:


Bug-smeller pursuivant:
	Chris Downey

Signature:
	Martin
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