mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Oops. Didn't pass along the results from inside to outside...
This commit is contained in:
parent
40e020b958
commit
24e4a70105
|
@ -625,13 +625,13 @@ void tox_do(Tox *tox)
|
||||||
int tox_wait_prepare(Tox *tox, uint8_t *data, uint16_t *lenptr)
|
int tox_wait_prepare(Tox *tox, uint8_t *data, uint16_t *lenptr)
|
||||||
{
|
{
|
||||||
Messenger *m = tox;
|
Messenger *m = tox;
|
||||||
waitprepareMessenger(m, data, lenptr);
|
return waitprepareMessenger(m, data, lenptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
int tox_wait_execute(Tox *tox, uint8_t *data, uint16_t len, uint16_t milliseconds)
|
int tox_wait_execute(Tox *tox, uint8_t *data, uint16_t len, uint16_t milliseconds)
|
||||||
{
|
{
|
||||||
Messenger *m = tox;
|
Messenger *m = tox;
|
||||||
waitexecuteMessenger(m, data, len, milliseconds);
|
return waitexecuteMessenger(m, data, len, milliseconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
void tox_wait_cleanup(Tox *tox, uint8_t *data, uint16_t len)
|
void tox_wait_cleanup(Tox *tox, uint8_t *data, uint16_t len)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user