summaryrefslogtreecommitdiffstats
path: root/common/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/trans.c')
-rw-r--r--common/trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/trans.c b/common/trans.c
index 89679844..4253e6f0 100644
--- a/common/trans.c
+++ b/common/trans.c
@@ -336,7 +336,7 @@ trans_check_wait_objs(struct trans *self)
if (self->si != 0 && self->si->source[self->my_source] > MAX_SBYTES)
{
}
- else if (g_tcp_can_recv(self->sck, 0))
+ else if (self->trans_can_recv(self, self->sck, 0))
{
cur_source = 0;
if (self->si != 0)