From eb1611ee0b7671ab8491d704154227400f819e51 Mon Sep 17 00:00:00 2001 From: ayin Date: Mon, 11 Sep 2006 08:48:37 +0000 Subject: [PATCH] *** empty log message *** --- src/fdpass.C | 2 +- src/ptytty.C | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.34.1