about summary refs log tree commit diff stats
path: root/tests/test.c
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-02-02 08:50:33 +0100
committerlatex <latex@disroot.org>2023-02-02 08:50:33 +0100
commit5e3694267633c58b3884300ba39d2f7a973df286 (patch)
tree9b68cce0032353f16e17d67e37debf371eec3fc4 /tests/test.c
parent20c71f96968a235189cee8b388ac58e9b45f099e (diff)
downloadlibumumble-5e3694267633c58b3884300ba39d2f7a973df286.tar.gz
currently broken tls support
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c5
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);