Changed INVALID_LENGTH to TOO_LONG.

This commit is contained in:
irungentoo 2015-03-17 16:00:03 -04:00
parent ea8d27259f
commit e778bfb42f
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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).