Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/red-channel-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/red-channel-client.c b/server/red-channel-client.c index 375a60b3..07f1988d 100644 --- a/server/red-channel-client.c +++ b/server/red-channel-client.c @@ -697,7 +697,7 @@ static void red_channel_client_ping_timer(void *opaque) int so_unsent_size = 0; /* retrieving the occupied size of the socket's tcp snd buffer (unacked + unsent) */ - if (ioctl(rcc->priv->stream->socket, SIOCOUTQ, &so_unsent_size) == -1) { + if (ioctl(socket_get_raw(rcc->priv->stream->socket), SIOCOUTQ, &so_unsent_size) == -1) { red_channel_warning(red_channel_client_get_channel(rcc), "ioctl(SIOCOUTQ) failed, %s", strerror(errno)); } @@ -1034,7 +1034,7 @@ void red_channel_client_shutdown(RedChannelClient *rcc) SpiceCoreInterfaceInternal *core = red_channel_get_core_interface(rcc->priv->channel); core->watch_remove(core, rcc->priv->stream->watch); rcc->priv->stream->watch = NULL; - shutdown(rcc->priv->stream->socket, SHUT_RDWR); + shutdown(socket_get_raw(rcc->priv->stream->socket), SHUT_RDWR); } } -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel