diff options
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c index fc55e90..7dd5250 100644 --- a/tests/test.c +++ b/tests/test.c @@ -7,7 +7,10 @@ int main(int argc, char *argv[]) mumble_ctx_init(&ctx); printf("%d\n", ctx.status); - mumble_connect(&ctx, "127.0.0.1", 0); + mumble_connect(&ctx, "www.wttr.in", 80); + mumble_run(&ctx); + if (ctx.error != 0) + printf("%d %s", ctx.error, uv_strerror(ctx.error)); mumble_ctx_close(&ctx); printf("%ld\n", ctx.uv_loop.time); |