patch to fix the art_stack problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:
	Here is a patch to fix that problem.  Please tell me
if this is the right way to do it as I haven't yet completely
understood the design of article.c.

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites
--
--- nntpcache-current/article.c.orig	Thu Sep  5 12:23:48 1996
+++ nntpcache-current/article.c	Sun Sep 29 10:06:43 1996
@@ -557,6 +557,16 @@
 		}
 	} else /* not cached */
 	{
+		/* replace 'body' with 'article' unless we pulled in a _head */
+		if (type == c_body)
+		{
+
+			if (*msgid)
+				sprintf (args, "article <%.127s>", msgid);
+			else
+				sprintf (args, "article %d", artno);
+		}
+
 		Cemitrn (args);
 		Cflush ();
 	}


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux