1 |
|
/* |
2 |
< |
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). |
3 |
< |
* s_bsd_devpoll.c: /dev/poll compatible network routines. |
2 |
> |
* ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd) |
3 |
|
* |
4 |
< |
* Originally by Adrian Chadd <adrian@creative.net.au> |
6 |
< |
* Copyright (C) 2002 Hybrid Development Team |
4 |
> |
* Copyright (c) 2001-2014 ircd-hybrid development team |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
17 |
|
* along with this program; if not, write to the Free Software |
18 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
19 |
|
* USA |
20 |
< |
* |
21 |
< |
* $Id$ |
20 |
> |
*/ |
21 |
> |
|
22 |
> |
/*! \file s_bsd_devpoll.c |
23 |
> |
* \brief /dev/poll compatible network routines. |
24 |
> |
* \version $Id$ |
25 |
|
*/ |
26 |
|
|
27 |
|
#include "stdinc.h" |
180 |
|
|
181 |
|
if ((dopoll.dp_fds[i].revents & POLLOUT)) |
182 |
|
{ |
183 |
< |
if ((hdl = F->write_handler) != NULL) |
183 |
> |
if ((hdl = F->write_handler) != NULL) |
184 |
|
{ |
185 |
|
F->write_handler = NULL; |
186 |
|
hdl(F, F->write_data); |