🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11736

INN1.5b1: nntpsend not passing -s to innxmit.

#11736
From: Timothy J. Miller
Date: Thu, 17 Oct 1996 00:00
50 lines
1584 bytes
X-Newsreader: Gnus v5.3/Emacs 19.31

	As Subject:.  Fix below; probably not perfect but it seems to
work.

-- Cerebus <tmiller@ims.advantis.com>

*** nntpsend.orig	Thu Oct 17 18:05:22 1996
--- nntpsend	Thu Oct 17 18:21:48 1996
***************
*** 215,220 ****
--- 215,221 ----
      D_PARAM=
      R_PARAM=
      S_PARAM=
+     S2_PARAM=
      C_PARAM=
      PP_PARAM=
      TIMEOUT_PARAM=
***************
*** 244,249 ****
--- 245,253 ----
  	X-S)
  	    S_PARAM="-S"
  	    ;;
+ 	X-s)
+ 	    S2_PARAM="-s"
+ 	    ;;
  	X-t)
  	    if [ -z "$2" ] ; then
  		echo "${PROGNAME}: option requires an argument -- t" 1>&2
***************
*** 317,322 ****
--- 321,331 ----
  	INNFLAGS="${INNFLAGS} ${S_FLAG}"
      else
  	test -n "${S_PARAM}" && INNFLAGS="${INNFLAGS} ${S_PARAM}"
+     fi
+     if [ -n "${S2_FLAG}" ]; then
+ 	INNFLAGS="${INNFLAGS} ${S2_FLAG}"
+     else
+ 	test -n "${S2_PARAM}" && INNFLAGS="${INNFLAGS} ${S2_PARAM}"
      fi
      if [ -n "${T_FLAG}" ]; then
  	INNFLAGS="${INNFLAGS} ${T_FLAG}"



Technical Details
Message-ID: <87pw2hgxnk.fsf@tmill06.sch.advantis.com>
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

Show Full Headers
Complete Article Headers
Message-ID: <87pw2hgxnk.fsf@tmill06.sch.advantis.com>
Subject: INN1.5b1: nntpsend not passing -s to innxmit.
Date: Thu, 17 Oct 1996 00:00:00 +0000
From: tmiller@tmill06.sch.advantis.com (Timothy J. Miller)
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: 190127524
Organization: Advantis
Newsgroups: news.software.nntp