diff options
author | Thomas <thomas@xteddy.org> | 2013-10-11 14:39:22 +0100 |
---|---|---|
committer | Thomas <thomas@xteddy.org> | 2013-10-11 14:39:22 +0100 |
commit | f703a30dfe2f3178202ccd5121128d4d3c4bbec8 (patch) | |
tree | 5b2c3ae346f0b89a455f72f717e98ef6810c21d9 /client.c | |
parent | 1a0951959fc65934ed51ce69dd66a67619d95cec (diff) | |
download | rtmux-f703a30dfe2f3178202ccd5121128d4d3c4bbec8.tar.gz rtmux-f703a30dfe2f3178202ccd5121128d4d3c4bbec8.tar.bz2 rtmux-f703a30dfe2f3178202ccd5121128d4d3c4bbec8.zip |
Fixup osdep-* specific code
get_proc_name() is osdep_get_name() outside of OpenBSD.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -349,10 +349,6 @@ client_send_identify(int flags) fd = open("/", O_RDONLY); client_write_one(MSG_IDENTIFY_CWD, fd, NULL, 0); -#ifdef __CYGWIN__ - snprintf(&data.ttyname, sizeof data.ttyname, "%s", - ttyname(STDIN_FILENO)); -#else if ((fd = dup(STDIN_FILENO)) == -1) fatal("dup failed"); client_write_one(MSG_IDENTIFY_STDIN, fd, NULL, 0); |