aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_handle_intern.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-11-01 23:54:19 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2021-11-01 23:54:19 +0100
commit9ca0d5d5b870914e1c6a7b2912207f4ed3c7312f (patch)
tree2e1502f92ad65c00966c42d4d65c3092de1e501f /src/gnunet_chat_handle_intern.c
parent0267c9588a7fe17b6b1a99bd761a4a79ff90a515 (diff)
downloadlibgnunetchat-9ca0d5d5b870914e1c6a7b2912207f4ed3c7312f.tar.gz
libgnunetchat-9ca0d5d5b870914e1c6a7b2912207f4ed3c7312f.zip
Fixed some minor mistakes
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/gnunet_chat_handle_intern.c')
-rw-r--r--src/gnunet_chat_handle_intern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnunet_chat_handle_intern.c b/src/gnunet_chat_handle_intern.c
index a563c60..450c8c9 100644
--- a/src/gnunet_chat_handle_intern.c
+++ b/src/gnunet_chat_handle_intern.c
@@ -415,7 +415,7 @@ on_handle_identity(void *cls,
415void 415void
416on_handle_message (void *cls, 416on_handle_message (void *cls,
417 struct GNUNET_MESSENGER_Room *room, 417 struct GNUNET_MESSENGER_Room *room,
418 GNUNET_UNUSED const struct GNUNET_MESSENGER_Contact *sender, 418 const struct GNUNET_MESSENGER_Contact *sender,
419 const struct GNUNET_MESSENGER_Message *msg, 419 const struct GNUNET_MESSENGER_Message *msg,
420 const struct GNUNET_HashCode *hash, 420 const struct GNUNET_HashCode *hash,
421 enum GNUNET_MESSENGER_MessageFlags flags) 421 enum GNUNET_MESSENGER_MessageFlags flags)
@@ -445,7 +445,7 @@ on_handle_message (void *cls,
445 context->timestamps, &shorthash 445 context->timestamps, &shorthash
446 ); 446 );
447 447
448 if (time) 448 if (!time)
449 { 449 {
450 time = GNUNET_new(struct GNUNET_TIME_Absolute); 450 time = GNUNET_new(struct GNUNET_TIME_Absolute);
451 *time = timestamp; 451 *time = timestamp;