Re: NNTPC: Another NNTPC 0.87.9 problem

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

 



> > The fix is a simple matter of replacing two:
> > 
> >          emitrn (NNTP_OVERVIEW_FOLLOWS);
> > 
> > with 
> > 
> >          emitrn (xhdr? NNTP_HEAD_FOLLOWS: NNTP_OVERVIEW_FOLLOWS);
> > 
> > in xover.c
> 
> I only see ONE line with emitrn (NNTP_OVERVIEW_FOLLOWS); in xover.c
> (line 672). Am I missing something or are you already working on
> a version later than 0.87.9?
> 
> frank

Latter (just).


suburbia:~/c/nntpcache$ cvs diff -r 1.47 xover.c
Index: xover.c
===================================================================
RCS file: /usr/local/cvs/nntpcache/xover.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -r1.47 -r1.48
1c1
< /* $Id: xover.c,v 1.47 1996/06/01 22:09:05 proff Exp $ */
---
> /* $Id: xover.c,v 1.48 1996/06/03 19:20:53 proff Exp $ */
36a37,39
>  *
>  * as for xhdr's, when going via a cached server, they are converted to
>  * xovers.
467c470
<               emitrn ("224 Data follows");
---
>               emitrn (xhdr? NNTP_HEAD_FOLLOWS: NNTP_OVERVIEW_FOLLOWS);
672c675
<                               emitrn (NNTP_OVERVIEW_FOLLOWS);
---
>                               emitrn (xhdr? NNTP_HEAD_FOLLOWS: NNTP_OVERVIEW_FOLLOWS);
798,801c801,804
<                                       *p = '\0';
<                                       p = xover_translate (p+1, CurrentCfg);
<                                       fprintf(clientout, "%s\t", line);
<                                       emitrn(p);
---
>                                       *p++ = '\0';
>                                       strStripEOL(p);
>                                       p = xover_translate (p, CurrentCfg);
>                                       fprintf(clientout, "%s\t%s\r\n", line, p);


-- 
"Of all tyrannies a tyranny sincerely  exercised for the good of its victims  
 may be the most  oppressive.  It may be better to live under  robber barons  
 than  under  omnipotent  moral busybodies,  The robber baron's  cruelty may  
 sometimes sleep,  his cupidity may at some point be satiated; but those who  
 torment us for own good  will torment us  without end,  for they do so with 
 the approval of their own conscience."    -   C.S. Lewis, _God in the Dock_ 
+---------------------+--------------------+----------------------------------+
|Julian Assange RSO   | PO Box 2031 BARKER | Secret Analytic Guy Union        |
|proff@suburbia.net   | VIC 3122 AUSTRALIA | finger for PGP key hash ID =     |
|proff@gnu.ai.mit.edu | FAX +61-3-98199066 | 0619737CCC143F6DEA73E27378933690 |
+---------------------+--------------------+----------------------------------+


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

Powered by Linux