test: fix warning in test-tcp-open
PR-URL: https://github.com/libuv/libuv/pull/1946 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
e57e07172e
commit
589736303f
@ -176,7 +176,7 @@ static void timer_cb(uv_timer_t* handle) {
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
/* Shutdown on drain. */
|
/* Shutdown on drain. */
|
||||||
r = uv_shutdown(&shutdown_req, &client, shutdown_cb);
|
r = uv_shutdown(&shutdown_req, (uv_stream_t*) &client, shutdown_cb);
|
||||||
ASSERT(r == 0);
|
ASSERT(r == 0);
|
||||||
shutdown_requested++;
|
shutdown_requested++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user