From 24e4a7010592d28439d423bd96477846f50d101c Mon Sep 17 00:00:00 2001 From: "Coren[m]" Date: Sun, 6 Oct 2013 17:22:40 +0200 Subject: [PATCH] Oops. Didn't pass along the results from inside to outside... --- toxcore/tox.c | 4 ++-- 1 file 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) int tox_wait_prepare(Tox *tox, uint8_t *data, uint16_t *lenptr) { 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) { 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)