[PATCH spice-server v3 18/32] test-stream: Use socket compatibility layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]