Fix bad merge, from Romain Francoise.

This commit is contained in:
Nicholas Marriott
2010-05-16 17:50:31 +00:00
parent 41afc38dcc
commit 59c13133de
2 changed files with 9 additions and 25 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server.c,v 1.240 2010-05-14 14:30:01 tcunha Exp $ */
/* $Id: server.c,v 1.241 2010-05-16 17:50:31 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -168,21 +168,6 @@ server_start(char *path)
setproctitle("server (%s)", rpathbuf);
#endif
#ifdef HAVE_BROKEN_KQUEUE
if (setenv("EVENT_NOKQUEUE", "1", 1) != 0)
fatal("setenv failed");
#endif
#ifdef HAVE_BROKEN_POLL
if (setenv("EVENT_NOPOLL", "1", 1) != 0)
fatal("setenv failed");
#endif
#ifdef HAVE_BROKEN_KQUEUE
unsetenv("EVENT_NOKQUEUE");
#endif
#ifdef HAVE_BROKEN_POLL
unsetenv("EVENT_NOPOLL");
#endif
server_fd = server_create_socket();
server_client_create(pair[1]);