diff options
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 9b5d75fc..251d00d2 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -1765,6 +1765,7 @@ static int handle_packet(void *object, int i, uint8_t *temp, uint16_t len) | |||
1765 | filename_terminated[data_length - head_length] = 0; | 1765 | filename_terminated[data_length - head_length] = 0; |
1766 | 1766 | ||
1767 | uint32_t real_filenumber = filenumber; | 1767 | uint32_t real_filenumber = filenumber; |
1768 | real_filenumber += 1; | ||
1768 | real_filenumber <<= 16; | 1769 | real_filenumber <<= 16; |
1769 | 1770 | ||
1770 | if (m->file_sendrequest) | 1771 | if (m->file_sendrequest) |