From 3f9b2b1f6358ec1a19bee6d8a9dd2c3faa81c293 Mon Sep 17 00:00:00 2001 From: balrog Date: Tue, 13 Nov 2007 01:56:12 +0000 Subject: Revert an accidental change in previous commit. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3634 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slirp') diff --git a/slirp/misc.c b/slirp/misc.c index 9ea7dd068e..14808fe21d 100644 --- a/slirp/misc.c +++ b/slirp/misc.c @@ -327,6 +327,8 @@ fork_exec(struct socket *so, const char *ex, int do_pty) lprint("Error: openpty failed: %s\n", strerror(errno)); return 0; } +#else + return 0; #endif } else { addr.sin_family = AF_INET; -- cgit v1.2.3