🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9925

Re: Problems with Netscape 2.0x and INN1.4

#9925
From: Andrew A. Vasilyev
Date: Tue, 06 Aug 1996 00:00
22 lines
1252 bytes
Andrew A. Vasilyev (andy@snm.demos.su) wrote:
>    Great job! But what about adding a check
>      (rc.c near 291 line in your count):
> > +     else if (found >= RemoteLimit && !RCnolimit(cp)) {
> 				      ^^^^^^^^^^^^^^^^^

  O-ops! Correcting myself :(((
  One should use additional variable for that check 'cause the
  cp->Address may be undefined. Something like:

    CHANNEL cp1;

    cp1.Address.s_addr = remote.sin_addr.s_addr; /* After accept() */
    ...
    else if (found >= RemoteLimit && !RCnolimit(&cp1)) {

  If one could suggest a better solution I would be happy.
_______
	ANDY

Technical Details
Message-ID: <4u62am$qae@news.demos.su>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4tha01$hrd@gsms01.alcatel.com.au> <4u3qk2$l55@blazing.mro.dec.com> <4u5gpa$kkv@news.demos.su>

Show Full Headers
Complete Article Headers
Message-ID: <4u62am$qae@news.demos.su>
Subject: Re: Problems with Netscape 2.0x and INN1.4
Date: Tue, 06 Aug 1996 00:00:00 +0000
From: andy@snm.demos.su (Andrew A. Vasilyev)
References: <4tha01$hrd@gsms01.alcatel.com.au> <4u3qk2$l55@blazing.mro.dec.com> <4u5gpa$kkv@news.demos.su>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 172323514
Distribution: world
Organization: Demos Online Service
Newsgroups: news.software.nntp