From 620402a833a4e42590a26390d2b7a39fd39e3ea9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 19 Aug 2009 09:00:06 +0000 Subject: This is a better fix for OS X stupidity. --- client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 48cf35bf..f738873d 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.65 2009-08-19 08:36:45 nicm Exp $ */ +/* $Id: client.c,v 1.66 2009-08-19 09:00:05 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -190,10 +190,8 @@ client_main(struct client_ctx *cctx) if (nfds == 0) continue; -#ifdef HAVE_POLL if (pfd.revents & (POLLERR|POLLHUP|POLLNVAL)) fatalx("socket error"); -#endif if (pfd.revents & POLLIN) { if (client_msg_dispatch(cctx) != 0) -- cgit v1.2.3