[Spice-devel] [PATCH spice-server 17/33] test-stream: Use socket compatibility layer
Frediano Ziglio
fziglio at redhat.com
Fri Dec 21 12:03:05 UTC 2018
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.17.2
More information about the Spice-devel
mailing list