aboutsummaryrefslogtreecommitdiff
path: root/slirp/misc.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-13 01:56:12 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-13 01:56:12 +0000
commit3f9b2b1f6358ec1a19bee6d8a9dd2c3faa81c293 (patch)
treeae2cea937089e425fffe35613f20ad2377d66875 /slirp/misc.c
parent2f4a40e56972be8088faa78cfe2120a4a0026b2d (diff)
Revert an accidental change in previous commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3634 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/misc.c')
-rw-r--r--slirp/misc.c2
1 files changed, 2 insertions, 0 deletions
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;