t/bench_http: disable buffering (win32 do not show anything otherwise)

Refs: #255
(cherry picked from commit 903c6acea52a2a2922b5cd43faec1e64631c3da8)
This commit is contained in:
Azat Khuzhin 2018-11-13 23:30:51 +03:00 committed by Azat Khuzhin
parent 84f6fb410b
commit 77b587b3ec
No known key found for this signature in database
GPG Key ID: B86086848EF8686D

View File

@ -101,6 +101,9 @@ main(int argc, char **argv)
return (1);
#endif
setbuf(stdout, NULL);
setbuf(stderr, NULL);
for (i = 1; i < argc; ++i) {
if (*argv[i] != '-')
continue;