🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40264

Re: inn-1999-09-30_03-01: inndstart.c

#40264
From: Russ Allbery
Date: Thu, 30 Sep 1999 00:00
29 lines
1508 bytes
Marcin Labuda <martin@task.gda.pl> writes:

> gcc -I../include  -D_REENTRANT -DPOSIX_PTHREAD_SEMANTICS -D_THREAD_SAFE -g
> -O2 -c inndstart.c
> inndstart.c: In function `main':
> inndstart.c:266: warning: comparison between pointer and integer
> inndstart.c:266: label `port' used but not defined

This patch should fix this.  I didn't get the AC_DEFINE magic right.

--- configure.in        1999/09/27 18:40:57     1.127
+++ configure.in        1999/09/30 22:09:07
@@ -148,8 +148,7 @@
 
 AC_ARG_WITH(innd-port,
     [  --with-innd-port=PORT   Additional low-numbered port for inndstart],
-    INND_PORT=$with_innd_port)
-AC_DEFINE_UNQUOTED(INND_PORT, $INND_PORT)
+    AC_DEFINE_UNQUOTED(INND_PORT, $with_innd_port))
 
 AC_ARG_ENABLE(tagged-hash,
     [  --enable-tagged-hash    Use tagged hash table for history],

Checked into CURRENT.  Thank you!

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl7ll81254.fsf@windlord.stanford.edu>
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: <tin.FIvw7r.GEp.martin@korweta.task.gda.pl>

Show Full Headers
Complete Article Headers
Message-ID: <yl7ll81254.fsf@windlord.stanford.edu>
Subject: Re: inn-1999-09-30_03-01: inndstart.c
Date: Thu, 30 Sep 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <tin.FIvw7r.GEp.martin@korweta.task.gda.pl>
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: 531307834
Organization: The Eyrie
Newsgroups: news.software.nntp