X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn.c;h=e8bfcf1c70cbbb9e848061eff7b151a2a7c8f854;hp=324fa4219a9d204723572e1eeb8fbf8ea1badbee;hb=ae00c100acdb4d2d3f99524d30258d07eefcfb6d;hpb=d0977258ee14a5178e98c9a00c064d90f0eac9d6 diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 324fa421..e8bfcf1c 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -152,7 +152,9 @@ my_sd_listen_fds(void) if (!e || !*e) return -1; count = atoi(e); +#ifdef HAVE_UNSETENV unsetenv("LISTEN_FDS"); +#endif return count; }