tReceiving calls works! - ratox - FIFO based tox client
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f914348f72eaac50d39f728a641d05ef1fb1150f
(DIR) parent 9a1f50c48071f8f8cdf5e537a9c01276d7e02afa
(HTM) Author: sin <sin@2f30.org>
Date: Wed, 1 Oct 2014 16:39:54 +0100
Receiving calls works!
Diffstat:
M ratox.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/ratox.c b/ratox.c
t@@ -480,6 +480,7 @@ cbcalldata(ToxAv *av, int32_t cnum, int16_t *data, int len, void *udata)
return;
buf = (uint8_t *)data;
+ len *= 2;
while (len > 0) {
n = write(f->fd[FCALL_OUT], &buf[wrote], len);
if (n < 0) {