On 8/5/19 4:52 PM, Frediano Ziglio wrote:
ping

ping the series

Ack for both patches.

Uri.



Don't call close but socket_close.

Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
  server/tests/test-websocket.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Currently the executable cannot run on Windows but it does not hurt
to make the source more compatible with that system.

diff --git a/server/tests/test-websocket.c b/server/tests/test-websocket.c
index dc7b7d342..e74cb5497 100644
--- a/server/tests/test-websocket.c
+++ b/server/tests/test-websocket.c
@@ -193,10 +193,10 @@ main(int argc, char **argv)
          ++num_connections;
          handle_client(new_sock);
- close(new_sock);
+        socket_close(new_sock);
      }
- close(sock);
+    socket_close(sock);
      printf("handled %u connections\n", num_connections);
      return 0;
  }
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel


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

Reply via email to