qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ui/spice: fix compilation on win32
@ 2023-03-22  7:52 marcandre.lureau
  2023-03-22  8:44 ` Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: marcandre.lureau @ 2023-03-22  7:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: berrange, Marc-André Lureau, Gerd Hoffmann

From: Marc-André Lureau <marcandre.lureau@redhat.com>

qemu_close_to_socket() renaming left-over.

Fixes:
https://gitlab.com/qemu-project/qemu/-/issues/1553

Fixes: commit e40283d9a ("ui/spice: fix SOCKET handling regression")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 ui/spice-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/spice-core.c b/ui/spice-core.c
index 67cfd3ca9c..52a59386d7 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -149,7 +149,7 @@ static void watch_remove(SpiceWatch *watch)
     qemu_set_fd_handler(watch->fd, NULL, NULL, NULL);
 #ifdef WIN32
     /* SOCKET is owned by spice */
-    qemu_close_to_socket(watch->fd);
+    qemu_close_socket_osfhandle(watch->fd);
 #endif
     g_free(watch);
 }
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-24 15:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-22  7:52 [PATCH] ui/spice: fix compilation on win32 marcandre.lureau
2023-03-22  8:44 ` Philippe Mathieu-Daudé
2023-03-22  9:00 ` Philippe Mathieu-Daudé
2023-03-22 10:22   ` Marc-André Lureau
2023-03-22 10:57     ` Philippe Mathieu-Daudé
2023-03-22 11:03 ` Philippe Mathieu-Daudé
2023-03-24 10:59 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).