From: ayin Date: Mon, 11 Sep 2006 08:48:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=eb1611ee0b7671ab8491d704154227400f819e51;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/fdpass.C b/src/fdpass.C index f6c137af..ed03fa36 100644 --- a/src/fdpass.C +++ b/src/fdpass.C @@ -33,7 +33,7 @@ #include "libptytty.h" -#ifndef CMSG_LEN // CMSG_SPACe && CMSG_LEN are rfc2292 extensions to unix +#ifndef CMSG_LEN // CMSG_SPACE && CMSG_LEN are rfc2292 extensions to unix # define CMSG_LEN(len) (sizeof (cmsghdr) + len) #endif diff --git a/src/ptytty.C b/src/ptytty.C index bd77f9da..eca2fcb1 100644 --- a/src/ptytty.C +++ b/src/ptytty.C @@ -183,6 +183,8 @@ get_pty (int *fd_tty, char **ttydev) close (pfd); } + + return -1; } #endif