diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-01-10 18:03:55 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-01-10 18:03:55 +0100 |
commit | 382213363a709fc3a2f4dd2248985a83cea99020 (patch) | |
tree | 6078b1811ccda6efc730e261876a76b6edafefa9 | |
parent | 57e859b9915959d6ba7601c35761eeb2e6ebe46d (diff) | |
download | libgnunetchat-382213363a709fc3a2f4dd2248985a83cea99020.tar.gz libgnunetchat-382213363a709fc3a2f4dd2248985a83cea99020.zip |
Corrected condition for completed upload
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | src/gnunet_chat_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnunet_chat_file.c b/src/gnunet_chat_file.c index deb5e13..cecee3a 100644 --- a/src/gnunet_chat_file.c +++ b/src/gnunet_chat_file.c | |||
@@ -248,7 +248,7 @@ file_update_upload (struct GNUNET_CHAT_File *file, | |||
248 | upload = upload->next; | 248 | upload = upload->next; |
249 | } | 249 | } |
250 | 250 | ||
251 | if (completed < size) | 251 | if (!(file->uri)) |
252 | return; | 252 | return; |
253 | 253 | ||
254 | struct GNUNET_MESSENGER_Message message; | 254 | struct GNUNET_MESSENGER_Message message; |