projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a27af9
)
io: initialize sockets in test program
author
Daniel P. Berrange
<berrange@redhat.com>
Tue, 8 Mar 2016 11:44:26 +0000
(11:44 +0000)
committer
Daniel P. Berrange
<berrange@redhat.com>
Thu, 10 Mar 2016 17:10:18 +0000
(17:10 +0000)
The win32 sockets layer requires that socket_init() is called
otherwise nothing will work.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/test-io-channel-socket.c
patch
|
blob
|
history
diff --git
a/tests/test-io-channel-socket.c
b/tests/test-io-channel-socket.c
index 6098fee9c20af26b6c7ef15d654be6ec5aec169a..f226e475c6b8eba5934c7053fce09ca74cdd4192 100644
(file)
--- a/
tests/test-io-channel-socket.c
+++ b/
tests/test-io-channel-socket.c
@@
-489,6
+489,7
@@
int main(int argc, char **argv)
bool has_ipv4, has_ipv6;
module_call_init(MODULE_INIT_QOM);
+ socket_init();
g_test_init(&argc, &argv, NULL);