diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index ca99fa18..8e635afe 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -495,7 +495,7 @@ void callback_file_data(Messenger *m, void (*function)(Messenger *m, int, uint8_ | |||
495 | void *userdata); | 495 | void *userdata); |
496 | 496 | ||
497 | /* Send a file send request. | 497 | /* Send a file send request. |
498 | * Maximum filename length is 256 bytes. | 498 | * Maximum filename length is 255 bytes. |
499 | * return 1 on success | 499 | * return 1 on success |
500 | * return 0 on failure | 500 | * return 0 on failure |
501 | */ | 501 | */ |
@@ -503,7 +503,7 @@ int file_sendrequest(Messenger *m, int friendnumber, uint8_t filenumber, uint64_ | |||
503 | uint16_t filename_length); | 503 | uint16_t filename_length); |
504 | 504 | ||
505 | /* Send a file send request. | 505 | /* Send a file send request. |
506 | * Maximum filename length is 256 bytes. | 506 | * Maximum filename length is 255 bytes. |
507 | * return file number on success | 507 | * return file number on success |
508 | * return -1 on failure | 508 | * return -1 on failure |
509 | */ | 509 | */ |