]> granicus.if.org Git - php/commitdiff
fix for bug #8994, courtesy tom.anheyer@berlinonline.de
authorSterling Hughes <sterling@php.net>
Thu, 26 Apr 2001 13:47:17 +0000 (13:47 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 26 Apr 2001 13:47:17 +0000 (13:47 +0000)
# Are we having another RC, and if so, can I MFH in time for it?

ext/standard/fsock.c

index a3a8bf4ee101a0e77dd03a5c101d747ca0673ce7..014bb4ffe72cee2d88c0daaf68a3c3c49b41f992 100644 (file)
@@ -13,7 +13,7 @@
    | license@php.net so we can mail you a copy immediately.               |
    +----------------------------------------------------------------------+
    | Authors: Paul Panotzki - Bunyip Information Systems                  |
-   |          Jim Winstead (jimw@php.net)                                 |
+   |          Jim Winstead <jimw@php.net>                                 |
    |          Sascha Schumann <sascha@schumann.cx>                        |
    +----------------------------------------------------------------------+
 */
@@ -596,6 +596,7 @@ PHPAPI void php_sockset_timeout(int socket, struct timeval *timeout)
        SOCK_FIND(sock, socket);
 
        sock->timeout = *timeout;
+       sock->timeout_event = 0;
 }
 
 #define SOCK_FIND_AND_READ_MAX(max) \