Thread View: news.software.nn
1 messages
1 total messages
Started by Craig Dewick
Sun, 14 Jan 1996 00:00
Error found in nn-6.5.0.b3 source when building to use NOV over NNTP
Author: Craig Dewick
Date: Sun, 14 Jan 1996 00:00
Date: Sun, 14 Jan 1996 00:00
64 lines
2841 bytes
2841 bytes
I've decided to dump the news spool off my main machine (along with Inn)
to free up a large slab of disk space, and re-compile NN to use NNTP (with
NOV) to talk to the news server running on this machine.
However, in the process of re-compiling the software, I've discovered an
error in the prototype definition for the 'nntp_get_overview()' function as
listed on line 653 of 'global.h'.
In 'nntp.c', where this function's code appears, the arguments to the
function are declared as follows:
/*
** Prime the nntp server to snarf the overview file for a newsgroup.
** Sends the XOVER command and prepares to read the result.
*/
struct novgroup *
nntp_get_overview(gh, first, last)
group_header *gh;
article_number first, last;
In 'global.h', the prototype for this function is as follows:
/* nntp.c */
struct novgroup *nntp_get_overview __APROTO((group_header *gh, int low, int high));
Near the top of 'global.h' there is a typedef for 'article_number' as
follows:
typedef int32 article_number;
Also, the second and third arguments are listed with incorrect names in
the prototype.
To repair this problem, I've altered the prototype for
'nntp_get_overview()' in 'global.h' to read:
struct novgroup *nntp_get_overview __APROTO((group_header *gh, article_number first, article_number last));
And with this change made, 'nntp.c' compiles without any further problems.
I've successfully installed and used the rebuilt version of NN on the
other machine, and it works happily talking to Inn running on this
machine, except for one thing...
When I try to post an article from the other machine, NN reports the
article posted successfully, but the post actually fails with error 480
being apparently returned from this machine.
I wonder if this is a problem with the mini-inews supplied with the NN
6.5.0.b3 distribution? Any pointers to working out what the problem is
would be appreciated.
Regards,
Craig.
--
Craig Dewick. Send email to 'cdewick@orb.apana.org.au'
The Core Matrix Foundation - Sydney, Australia
(02)527-1292 (intl. +612-527-1292), or http://jedi.apana.org.au/core.html
Always striving for a secure long-term future in an insecure short-term world
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