aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_handle.c')
-rw-r--r--src/gnunet_chat_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnunet_chat_handle.c b/src/gnunet_chat_handle.c
index 8eb42ba..96c5a84 100644
--- a/src/gnunet_chat_handle.c
+++ b/src/gnunet_chat_handle.c
@@ -855,7 +855,7 @@ handle_process_records (struct GNUNET_CHAT_Handle *handle,
855{ 855{
856 GNUNET_assert((handle) && (data)); 856 GNUNET_assert((handle) && (data));
857 857
858 if (count <= 0) 858 if (!count)
859 return NULL; 859 return NULL;
860 860
861 const struct GNUNET_MESSENGER_RoomEntryRecord *record = NULL; 861 const struct GNUNET_MESSENGER_RoomEntryRecord *record = NULL;