/[svn]/ircd-hybrid/branches/8.2.x/src/s_bsd_kqueue.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/s_bsd_kqueue.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7566 by michael, Thu Feb 18 21:07:50 2016 UTC revision 7567 by michael, Tue May 24 16:23:51 2016 UTC
# Line 40  static int kqoff;      /* offset into th Line 40  static int kqoff;      /* offset into th
40    
41    
42  /*  /*
43   * init_netio   * netio_init
44   *   *
45   * This is a needed exported function which will be called to initialise   * This is a needed exported function which will be called to initialise
46   * the network loop code.   * the network loop code.
47   */   */
48  void  void
49  init_netio(void)  netio_init(void)
50  {  {
51    int fd;    int fd;
52    
53    if ((fd = kqueue()) < 0)    if ((fd = kqueue()) < 0)
54    {    {
55      ilog(LOG_TYPE_IRCD, "init_netio: couldn't open kqueue fd: %s", strerror(errno));      ilog(LOG_TYPE_IRCD, "netio_init: couldn't open kqueue fd: %s", strerror(errno));
56      exit(EXIT_FAILURE); /* Whee! */      exit(EXIT_FAILURE); /* Whee! */
57    }    }
58    

Legend:
Removed from v.7566  
changed lines
  Added in v.7567

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28