mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Changed INVALID_LENGTH to TOO_LONG.
This commit is contained in:
parent
ea8d27259f
commit
e778bfb42f
|
@ -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:
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue
Block a user