Fix test-api-client

Now it finishes processing if login was not successful
This commit is contained in:
Gergely Polonkai 2016-03-04 13:59:45 +01:00
parent fed43df034
commit de402cfa92

View File

@ -148,6 +148,8 @@ login_finished(MatrixAPI *api,
user_id, NULL); user_id, NULL);
} else { } else {
g_printf("Login unsuccessful!\n"); g_printf("Login unsuccessful!\n");
g_main_loop_quit(loop);
} }
} }