diff --git a/src/test-client.c b/src/test-client.c index 7e7a01a..12ddaf9 100644 --- a/src/test-client.c +++ b/src/test-client.c @@ -16,6 +16,7 @@ * . */ +#include #include #include "matrix-http-api.h" @@ -156,7 +157,7 @@ main(int argc, char *argv[]) if (err) { g_warning("Error: %s", err->message); - return; + return 1; } g_info("Entering main loop");