]> git.proxmox.com Git - qemu.git/blobdiff - ui/vnc-tls.c
sdl: Fix termination in -no-shutdown mode
[qemu.git] / ui / vnc-tls.c
index dec626c539c51fc8788410447325e58ebc40848a..31f1467ad06fad168ef766f1dac1cacd748d707b 100644 (file)
@@ -89,7 +89,7 @@ static ssize_t vnc_tls_pull(gnutls_transport_ptr_t transport,
     int ret;
 
  retry:
-    ret = recv(vs->csock, data, len, 0);
+    ret = qemu_recv(vs->csock, data, len, 0);
     if (ret < 0) {
         if (errno == EINTR)
             goto retry;