diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2018-11-13 23:30:51 +0300 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2018-11-13 23:31:16 +0300 |
commit | 903c6acea52a2a2922b5cd43faec1e64631c3da8 (patch) | |
tree | 2ee392e25800df4a26901b996b792bed617502e9 | |
parent | 56f3bdefcae915af3107ab20cc7548d048d56421 (diff) | |
download | libevent-903c6acea52a2a2922b5cd43faec1e64631c3da8.tar.gz |
t/bench_http: disable buffering (win32 do not show anything otherwise)
Refs: #255
-rw-r--r-- | test/bench_http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bench_http.c b/test/bench_http.c index d20d3bc7..80377ee6 100644 --- a/test/bench_http.c +++ b/test/bench_http.c @@ -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; |