break on timeout
authorMichael Wallner <mike@php.net>
Mon, 3 Aug 2015 10:23:04 +0000 (12:23 +0200)
committerMichael Wallner <mike@php.net>
Mon, 3 Aug 2015 10:23:04 +0000 (12:23 +0200)
tests/helper/server.inc

index 6838ac11e8bbeb2d33e77fbfe045c59f02672f68..5d25562d9bdebc29506f8027ebded35a6d3262db 100644 (file)
@@ -57,7 +57,7 @@ function serve($cb) {
                                                break;
                                        }
                                }
-                       } while ($select !== false);
+                       } while ($select);
                        return;
                }
        }