aboutsummaryrefslogtreecommitdiff
path: root/tests/httpclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/httpclient.c')
-rw-r--r--tests/httpclient.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/httpclient.c b/tests/httpclient.c
index ab4f46a2..6ea6fa6e 100644
--- a/tests/httpclient.c
+++ b/tests/httpclient.c
@@ -30,13 +30,11 @@ TestMain("HTTP Client", {
atexit(nng_fini);
Convey("Given a TCP connection to httpbin.org", {
- nni_plat_tcp_ep * ep;
- nni_plat_tcp_pipe *p;
- nng_aio * aio;
- nni_aio * iaio;
- nng_sockaddr rsa;
- nni_http_client * cli;
- nni_http * http;
+ nng_aio * aio;
+ nni_aio * iaio;
+ nng_sockaddr rsa;
+ nni_http_client *cli;
+ nni_http * http;
So(nng_aio_alloc(&aio, NULL, NULL) == 0);
iaio = (nni_aio *) aio;