Oops. Didn't pass along the results from inside to outside...

This commit is contained in:
Coren[m] 2013-10-06 17:22:40 +02:00
parent 40e020b958
commit 24e4a70105

View File

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