Renamed SEND_FAILED to SENDQ.

This commit is contained in:
irungentoo 2015-03-17 17:13:25 -04:00
parent 8286c2c22f
commit 0beaa2fdb4
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 6 additions and 6 deletions

View File

@ -907,7 +907,7 @@ bool tox_file_send_control(Tox *tox, uint32_t friend_number, uint32_t file_numbe
return 0;
case -8:
SET_ERROR_PARAMETER(error, TOX_ERR_FILE_CONTROL_SEND_FAILED);
SET_ERROR_PARAMETER(error, TOX_ERR_FILE_CONTROL_SENDQ);
return 0;
}
@ -949,7 +949,7 @@ bool tox_file_send_seek(Tox *tox, uint32_t friend_number, uint32_t file_number,
return 0;
case -8:
SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_SEND_FAILED);
SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_SENDQ);
return 0;
}

View File

@ -1498,9 +1498,9 @@ typedef enum TOX_ERR_FILE_CONTROL {
*/
TOX_ERR_FILE_CONTROL_ALREADY_PAUSED,
/**
* Packet failed to send.
* Packet queue is full.
*/
TOX_ERR_FILE_CONTROL_SEND_FAILED
TOX_ERR_FILE_CONTROL_SENDQ
} TOX_ERR_FILE_CONTROL;
/**
@ -1563,9 +1563,9 @@ typedef enum TOX_ERR_FILE_SEEK {
*/
TOX_ERR_FILE_SEEK_INVALID_POSITION,
/**
* Packet failed to send.
* Packet queue is full.
*/
TOX_ERR_FILE_SEEK_SEND_FAILED
TOX_ERR_FILE_SEEK_SENDQ
} TOX_ERR_FILE_SEEK;
/**