=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/server.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/tmux/server.c 2009/06/24 22:49:56 1.3 --- src/usr.bin/tmux/server.c 2009/06/25 22:09:20 1.4 *************** *** 1,4 **** ! /* $OpenBSD: server.c,v 1.3 2009/06/24 22:49:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: server.c,v 1.4 2009/06/25 22:09:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 288,294 **** xtimeout = POLL_TIMEOUT; /* Do the poll. */ ! if ((nfds = poll(pfds, nfds, xtimeout)) == -1) { if (errno == EAGAIN || errno == EINTR) continue; fatal("poll failed"); --- 288,294 ---- xtimeout = POLL_TIMEOUT; /* Do the poll. */ ! if (poll(pfds, nfds, xtimeout) == -1) { if (errno == EAGAIN || errno == EINTR) continue; fatal("poll failed");