diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-07 03:49:05 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-07 03:49:05 -0800 |
commit | 6b54b5cf8086f127aa87096e2bdd2263d1c81683 (patch) | |
tree | e52217bdef7d2ec21a7409002e504f2ec84a9384 /Xtrans.c | |
parent | f3709f3e0b883a0b4956313f89fa931e9264c346 (diff) |
Actually disable all of the FD passing code unless XTRANS_SEND_FDS is set
Stick all of the functions relating to FD passing inside
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xtrans.c')
-rw-r--r-- | Xtrans.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -879,6 +879,7 @@ TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size) return ciptr->transptr->Writev (ciptr, buf, size); } +#if XTRANS_SEND_FDS int TRANS(SendFd) (XtransConnInfo ciptr, int fd, int do_close) { @@ -890,6 +891,7 @@ TRANS(RecvFd) (XtransConnInfo ciptr) { return ciptr->transptr->RecvFd(ciptr); } +#endif int TRANS(Disconnect) (XtransConnInfo ciptr) |