ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/releases/8.2.21/src/s_bsd.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/s_bsd.c (file contents):
Revision 7273 by michael, Sat Feb 6 20:55:20 2016 UTC vs.
Revision 7329 by michael, Thu Feb 18 21:07:50 2016 UTC

# Line 355 | Line 355 | ignoreErrno(int ierrno)
355   * Set the timeout for the fd
356   */
357   void
358 < comm_settimeout(fde_t *fd, time_t timeout, void (*callback)(fde_t *, void *), void *cbdata)
358 > comm_settimeout(fde_t *fd, uintmax_t timeout, void (*callback)(fde_t *, void *), void *cbdata)
359   {
360    assert(fd->flags.open);
361  
# Line 377 | Line 377 | comm_settimeout(fde_t *fd, time_t timeou
377   * comm_close() is replaced with fd_close() in fdlist.c
378   */
379   void
380 < comm_setflush(fde_t *fd, time_t timeout, void (*callback)(fde_t *, void *), void *cbdata)
380 > comm_setflush(fde_t *fd, uintmax_t timeout, void (*callback)(fde_t *, void *), void *cbdata)
381   {
382    assert(fd->flags.open);
383  
# Line 446 | Line 446 | comm_checktimeouts(void *unused)
446   void
447   comm_connect_tcp(fde_t *fd, const char *host, unsigned short port, struct sockaddr *clocal,
448                   int socklen, void (*callback)(fde_t *, int, void *), void *data,
449 <                 int aftype, time_t timeout)
449 >                 int aftype, uintmax_t timeout)
450   {
451    struct addrinfo hints, *res;
452    char portname[PORTNAMELEN + 1];

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)