summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-10-06 17:22:40 +0200
committerCoren[m] <Break@Ocean>2013-10-06 17:22:40 +0200
commit24e4a7010592d28439d423bd96477846f50d101c (patch)
tree27ca82af6b27f3da17b6258d3e9129f1cc083c69 /toxcore
parent40e020b95870d6a0c2b143ea63f03195b8ef5e49 (diff)
Oops. Didn't pass along the results from inside to outside...
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index a98c1223..ea19753f 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -625,13 +625,13 @@ void tox_do(Tox *tox)
625int tox_wait_prepare(Tox *tox, uint8_t *data, uint16_t *lenptr) 625int tox_wait_prepare(Tox *tox, uint8_t *data, uint16_t *lenptr)
626{ 626{
627 Messenger *m = tox; 627 Messenger *m = tox;
628 waitprepareMessenger(m, data, lenptr); 628 return waitprepareMessenger(m, data, lenptr);
629} 629}
630 630
631int tox_wait_execute(Tox *tox, uint8_t *data, uint16_t len, uint16_t milliseconds) 631int tox_wait_execute(Tox *tox, uint8_t *data, uint16_t len, uint16_t milliseconds)
632{ 632{
633 Messenger *m = tox; 633 Messenger *m = tox;
634 waitexecuteMessenger(m, data, len, milliseconds); 634 return waitexecuteMessenger(m, data, len, milliseconds);
635} 635}
636 636
637void tox_wait_cleanup(Tox *tox, uint8_t *data, uint16_t len) 637void tox_wait_cleanup(Tox *tox, uint8_t *data, uint16_t len)