diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-12-06 23:59:38 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-12-06 23:59:38 +0100 |
commit | c773abec96849618212100e79c82eb3485a77c8a (patch) | |
tree | 999224b6d20ddeac3c1e2d202f39554175420041 | |
parent | cbdb8030c9cbea9e00e5d569a0d90dabbd4155ea (diff) | |
download | libgnunetchat-c773abec96849618212100e79c82eb3485a77c8a.tar.gz libgnunetchat-c773abec96849618212100e79c82eb3485a77c8a.zip |
Fixed wrong equation
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | src/gnunet_chat_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c index 23b2c3e..c355c04 100644 --- a/src/gnunet_chat_lib.c +++ b/src/gnunet_chat_lib.c | |||
@@ -463,10 +463,10 @@ GNUNET_CHAT_context_get_status (const struct GNUNET_CHAT_Context *context) | |||
463 | if ((!context) || (!(context->room))) | 463 | if ((!context) || (!(context->room))) |
464 | return GNUNET_SYSERR; | 464 | return GNUNET_SYSERR; |
465 | 465 | ||
466 | if (1 <= GNUNET_MESSENGER_iterate_members(context->room, NULL, NULL)) | 466 | if (1 >= GNUNET_MESSENGER_iterate_members(context->room, NULL, NULL)) |
467 | return GNUNET_NO; | 467 | return GNUNET_NO; |
468 | 468 | ||
469 | return GNUNET_YES; | 469 | return GNUNET_OK; |
470 | } | 470 | } |
471 | 471 | ||
472 | 472 | ||