Revert an accidental change in previous commit.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 13 Nov 2007 01:56:12 +0000 (01:56 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 13 Nov 2007 01:56:12 +0000 (01:56 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3634 c046a42c-6fe2-441c-8c8c-71466251a162

slirp/misc.c

index 9ea7dd068e053bc9cf6bc66418f6d7732a84755e..14808fe21d3e3c10ff696c580edd45dcc923bc8b 100644 (file)
@@ -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;