16 Sep
2012
16 Sep
'12
13:06
Module: ngircd.git Branch: master Commit: b2482b39e40bd5355cb6ea935d7dc1f1bd18f7ab URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b2482b39e... Author: Alexander Barton <alex@barton.de> Date: Tue Sep 11 14:38:19 2012 +0200 Use HAVE_SETSID #define when testing for setsid() --- src/ngircd/ngircd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 8a93bcb..67bc4df 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -715,7 +715,7 @@ NGIRCd_Init(bool NGIRCd_NoDaemon) } /* New child process */ -#ifndef NeXT +#ifdef HAVE_SETSID (void)setsid(); #else setpgrp(0, getpid());