[Spice-devel] [PATCH spice-server v3 18/32] test-stream: Use socket compatibility layer
Frediano Ziglio
fziglio at redhat.com
Mon Jan 7 18:02:01 UTC 2019
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/tests/test-stream.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/tests/test-stream.c b/server/tests/test-stream.c
index d56109d1..54fbf259 100644
--- a/server/tests/test-stream.c
+++ b/server/tests/test-stream.c
@@ -113,9 +113,9 @@ int main(int argc, char *argv[])
return -1;
}
- st[0] = red_stream_new(server, sv[0]);
+ st[0] = red_stream_new(server, SOCKET_FROM_INT(sv[0]));
spice_assert(red_stream_is_plain_unix(st[0]));
- st[1] = red_stream_new(server, sv[1]);
+ st[1] = red_stream_new(server, SOCKET_FROM_INT(sv[1]));
spice_assert(red_stream_is_plain_unix(st[1]));
/* send stdin, for the fun of it */
--
2.20.1
More information about the Spice-devel
mailing list