Invalid assert
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 20 Mar 2015 18:15:50 +0000 (14:15 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 21 Mar 2015 14:37:06 +0000 (10:37 -0400)
src/lib/misc.c

index 7e9e043..6a6e163 100644 (file)
@@ -1417,9 +1417,6 @@ ssize_t fr_writev(int fd, struct iovec vector[], int iovcnt, struct timeval *tim
                        int     ret;
                        fd_set  write_set;
 
-                       /* If timeout == 0, sockets should be blocking */
-                       if (!fr_assert(timeout != 0)) return -1;
-
                        FD_ZERO(&write_set);
                        FD_SET(fd, &write_set);