Path: utzoo!attcan!uunet!wuarchive!kuhub.cc.ukans.edu!zeus!russell From: russell@zeus.unl.edu (Tim Russell) Newsgroups: news.software.anu-news Subject: Problem with NNTP_FEED in V5.9B Message-ID: <5271.256e7c00@zeus.unl.edu> Date: 25 Nov 89 17:48:16 GMT Lines: 45 There's a problem with NNTP_FEED.C as patched under V5.9B. It's a misplaced #endif. Here's a patch to fix it. Basically, just move the #endif in open_net that's under the line with "sys$assign(c$dsc("INET0:") to be above it instead of below it. -------------------------Patch - cut here------------------------------------ *** nntp_feed.c;-1 --- nntp_feed.c ************** *** 416,422 else if (proto == WINTCP) { #elif MULTINET else if (proto == MULTINETTCP) { - if (sys$assign(c$dsc("INET0:"),&net_chan,0,0) & 1) { #endif #if TWG || MULTINET --- 416,421 ----- else if (proto == WINTCP) { #elif MULTINET else if (proto == MULTINETTCP) { #endif if (sys$assign(c$dsc("INET0:"),&net_chan,0,0) & 1) { ************** *** 418,423 else if (proto == MULTINETTCP) { if (sys$assign(c$dsc("INET0:"),&net_chan,0,0) & 1) { #endif #if TWG || MULTINET if ((sys$qiow(0,net_chan,IO$_SOCKET,&read_iosb,0,0, --- 417,423 ----- #elif MULTINET else if (proto == MULTINETTCP) { #endif + if (sys$assign(c$dsc("INET0:"),&net_chan,0,0) & 1) { #if TWG || MULTINET if ((sys$qiow(0,net_chan,IO$_SOCKET,&read_iosb,0,0, -- Tim Russell Univ. Of Nebr. at Omaha russell@{zeus.unl.edu | unoma1.bitnet} "It's enough to make you wonder sometimes if you're on the right planet." -- Frankie Goes To Hollywood