INN 2.2.2

Robert Dinse nanook at eskimo.com
Fri Feb 25 03:37:53 UTC 2000


On Fri, 25 Feb 2000, Katsuhiro Kondou wrote:
> 
> In article <Pine.SUN.3.96.1000224192158.11944Z-100000 at invisible.eskimo.com>,
> 	Robert Dinse <nanook at eskimo.com> wrote;
> 
> }      It's not adding them.  Any idea how to make it do so?
> 
> See line 425 in nnrpd/post.c.  Or doesn't your
> newsreader really connect to nnrpd?
> -- 
> Katsuhiro Kondou

     The problem is occuring with people using IE 5.0 remotely.  INN
forks/exec's nnrpd for any host that isn't listed in the incoming.conf, so I
don't know how someone using IE or other PC news readers remotely could NOT be
going through nnrpd. 

     Maybe you can explain this little snippet of code:

    /* Set Path */
    if (HDR(_path) == NULL) {
        /* Note that innd will put host name here for us. */
        HDR(_path) = PATHMASTER;
    } else {
#if 0
        /* Here's where to do Path changes for new Posts. */
        char *newpath;
        if ((newpath = strrchr(HDR(_path), '!')) != NULL) {
            newpath++;
            if (*newpath == '\0') {
                HDR(_path) = NEWSMASTER;
            } else {
                HDR(_path) = newpath;
            }
        }
#endif

     What is the "#if 0" section about?  Since this will always evaluate false
it will never be included.

     What is PATHMASTER and NEWMASTER?






More information about the inn-bugs mailing list