mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Special-case CTL_ALIAS instead of CTL_DNS in udp loopback test.
At the same time remove a bogus test (tested by Jason Wessel). Quiet some gcc4 warnings from slirp compilation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4402 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e62ab7a153
commit
242acf3af4
4 changed files with 8 additions and 7 deletions
|
@ -304,7 +304,7 @@ fork_exec(struct socket *so, const char *ex, int do_pty)
|
|||
{
|
||||
int s;
|
||||
struct sockaddr_in addr;
|
||||
int addrlen = sizeof(addr);
|
||||
socklen_t addrlen = sizeof(addr);
|
||||
int opt;
|
||||
int master = -1;
|
||||
char *argv[256];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue