X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fhelper%2Fserver.inc;h=5d25562d9bdebc29506f8027ebded35a6d3262db;hp=506e08313b2c70f71a97f494bb5097171bc7a1f0;hb=1eeca58f04a35ef6a3e9a815473603912bab0d3f;hpb=f77326f8677648ea24c5906d05088fc79b9bb4e7 diff --git a/tests/helper/server.inc b/tests/helper/server.inc index 506e083..5d25562 100644 --- a/tests/helper/server.inc +++ b/tests/helper/server.inc @@ -1,5 +1,19 @@ getMessage()); /* ignore disconnect */ if ($ex->getMessage() !== "Empty message received from stream") { fprintf(STDERR, "%s\n", $ex); @@ -37,7 +57,7 @@ function serve($cb) { break; } } - } while ($select !== false); + } while ($select); return; } } @@ -111,4 +131,4 @@ function proc($bin, $args, $cb) { fpassthru($stderr); fpassthru($stdout); } -} \ No newline at end of file +}