aboutsummaryrefslogtreecommitdiff
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
commite24e9215ba66fe87db29f72e34764521f2fe620a (patch)
tree2bac0e815cd4bff90e38c621abf7adcf7406fc59
parent8ee0a7729c3cddaf4ea2bc7a7958cb429e8d8986 (diff)
downloadslirp-e24e9215ba66fe87db29f72e34764521f2fe620a.zip
slirp-e24e9215ba66fe87db29f72e34764521f2fe620a.tar.gz
slirp-e24e9215ba66fe87db29f72e34764521f2fe620a.tar.bz2
Revert an accidental change in previous commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3634 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index b2dac11..5a039d2 100644
--- a/misc.c
+++ b/misc.c
@@ -304,6 +304,8 @@ int 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;