diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 26fa0de4..b155c02f 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -1058,7 +1058,7 @@ bool tox_file_seek(Tox *tox, uint32_t friend_number, uint32_t file_number, uint6 | |||
1058 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_NOT_FOUND); | 1058 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_NOT_FOUND); |
1059 | return 0; | 1059 | return 0; |
1060 | 1060 | ||
1061 | case -4: | 1061 | case -4: // fall-through |
1062 | case -5: | 1062 | case -5: |
1063 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_DENIED); | 1063 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_DENIED); |
1064 | return 0; | 1064 | return 0; |