mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Renamed SEND_FAILED to SENDQ.
This commit is contained in:
parent
8286c2c22f
commit
0beaa2fdb4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user