analog for zt works, still need some more for wanpipe

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@190 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale
2007-06-01 00:31:50 +00:00
parent 69acc51920
commit d9ad22285a
10 changed files with 221 additions and 56 deletions

View File

@@ -25,7 +25,7 @@ static void *test_call(zap_thread_t *me, void *obj)
if (flags & ZAP_READ) {
if (zap_channel_read(chan, frame, &len) == ZAP_SUCCESS) {
//zap_log(ZAP_LOG_DEBUG, "WRITE %d\n", len);
zap_channel_write(chan, frame, &len);
zap_channel_write(chan, frame, sizeof(frame), &len);
} else {
break;
}