aboutsummaryrefslogtreecommitdiff
path: root/X11/xtrans/Xtrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'X11/xtrans/Xtrans.c')
-rw-r--r--X11/xtrans/Xtrans.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/X11/xtrans/Xtrans.c b/X11/xtrans/Xtrans.c
index 0799f0468..7c7967f5d 100644
--- a/X11/xtrans/Xtrans.c
+++ b/X11/xtrans/Xtrans.c
@@ -866,17 +866,22 @@ TRANS(Write) (XtransConnInfo ciptr, char *buf, int size)
}
int
-TRANS(Readv) (XtransConnInfo ciptr, struct iovec *buf, int size)
+TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size)
{
- return ciptr->transptr->Readv (ciptr, buf, size);
+ return ciptr->transptr->Writev (ciptr, buf, size);
}
int
-TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size)
+TRANS(SendFd) (XtransConnInfo ciptr, int fd, int do_close)
+{
+ return ciptr->transptr->SendFd(ciptr, fd, do_close);
+}
+int
+TRANS(RecvFd) (XtransConnInfo ciptr)
{
- return ciptr->transptr->Writev (ciptr, buf, size);
+ return ciptr->transptr->RecvFd(ciptr);
}
int