diff options
Diffstat (limited to 'close_direct_conversations')
-rw-r--r-- | close_direct_conversations/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/close_direct_conversations/main.c b/close_direct_conversations/main.c index 82bf851..9c723f9 100644 --- a/close_direct_conversations/main.c +++ b/close_direct_conversations/main.c @@ -28,7 +28,7 @@ int main(void) if (password == NULL) password = common_cli_get_password(); - if (restapi_login(login, password) == 0) { + if (restapi_login(login, password) != NULL) { struct subscription* subscriptions = restapi_subscriptions_get(); printf("Active direct conversations :\n"); |