mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-09 12:53:20 +00:00
Changed INVALID_LENGTH to TOO_LONG.
This commit is contained in:
+1
-1
@@ -979,7 +979,7 @@ uint32_t tox_file_send(Tox *tox, uint32_t friend_number, uint32_t kind, uint64_t
|
||||
return UINT32_MAX;
|
||||
|
||||
case -2:
|
||||
SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEND_NAME_INVALID_LENGTH);
|
||||
SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEND_NAME_TOO_LONG);
|
||||
return UINT32_MAX;
|
||||
|
||||
case -3:
|
||||
|
||||
+1
-1
@@ -1628,7 +1628,7 @@ typedef enum TOX_ERR_FILE_SEND {
|
||||
/**
|
||||
* Filename length exceeded 255 bytes.
|
||||
*/
|
||||
TOX_ERR_FILE_SEND_NAME_INVALID_LENGTH,
|
||||
TOX_ERR_FILE_SEND_NAME_TOO_LONG,
|
||||
/**
|
||||
* Too many ongoing transfers. The maximum number of concurrent file transfers
|
||||
* is 256 per friend per direction (sending and receiving).
|
||||
|
||||
Reference in New Issue
Block a user