ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/s_bsd_poll.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/s_bsd_poll.c (file contents):
Revision 3377 by michael, Thu Apr 24 16:15:51 2014 UTC vs.
Revision 3505 by michael, Sat May 10 19:51:42 2014 UTC

# Line 57 | Line 57 | init_netio(void)
57   {
58    int fd;
59  
60 <  pollfds = MyMalloc(sizeof(struct pollfd) * hard_fdlimit);
60 >  pollfds = MyCalloc(sizeof(struct pollfd) * hard_fdlimit);
61  
62    for (fd = 0; fd < hard_fdlimit; fd++)
63      pollfds[fd].fd = -1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines