io: initialize sockets in test program
commit5838d66e73ac50c5547796afe1e86aa204b77fea
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Mar 2016 11:44:26 +0000 (8 11:44 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Mar 2016 17:10:18 +0000 (10 17:10 +0000)
treea3befbfb06da745402e70eb2dbc24eeda57b4f9d
parent0a27af918b9cfb7fc1605c66dfc70700be16fab5
io: initialize sockets in test program

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