summaryrefslogtreecommitdiffstats
path: root/rdp/rdp_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'rdp/rdp_tcp.c')
-rw-r--r--rdp/rdp_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdp/rdp_tcp.c b/rdp/rdp_tcp.c
index f0a76d7d..0200e777 100644
--- a/rdp/rdp_tcp.c
+++ b/rdp/rdp_tcp.c
@@ -74,7 +74,7 @@ rdp_tcp_recv(struct rdp_tcp *self, struct stream *s, int len)
{
if (g_tcp_last_error_would_block(self->sck))
{
- g_tcp_can_recv(self->sck, 10);
+ g_sck_can_recv(self->sck, 10);
}
else
{