*** empty log message ***
authorayin <ayin>
Mon, 11 Sep 2006 08:48:37 +0000 (08:48 +0000)
committerayin <ayin>
Mon, 11 Sep 2006 08:48:37 +0000 (08:48 +0000)
src/fdpass.C
src/ptytty.C

index f6c137af928a04240e1e0e10206be5b0f1d23b8a..ed03fa3692d20439dc597bee7b9d62dd266c1617 100644 (file)
@@ -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
 
index bd77f9da680383adec188d81bb2981d2efd16dff..eca2fcb16780aecf40b8deb4b03bb5d6c8bad7c5 100644 (file)
@@ -183,6 +183,8 @@ get_pty (int *fd_tty, char **ttydev)
 
       close (pfd);
     }
+
+  return -1;
 }
 #endif