mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-05 12:25:44 +00:00
Update spice-common submodule
This is for: * new message gl_scanout2_unix * changed API spice_marshaller_get_fd(s) Signed-off-by: Qiang Yu <yuq825@gmail.com> Acked-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
cf678836a9
commit
07153b3c8c
@ -524,18 +524,18 @@ inline void RedChannelClientPrivate::restore_main_sender()
|
||||
void RedChannelClient::msg_sent()
|
||||
{
|
||||
#ifndef _WIN32
|
||||
int fd;
|
||||
int fd[4];
|
||||
|
||||
if (spice_marshaller_get_fd(priv->send_data.marshaller, &fd)) {
|
||||
if (red_stream_send_msgfd(priv->stream, fd) < 0) {
|
||||
if (spice_marshaller_get_fds(priv->send_data.marshaller, fd)) {
|
||||
if (red_stream_send_msgfd(priv->stream, fd[0]) < 0) {
|
||||
perror("sendfd");
|
||||
disconnect();
|
||||
if (fd != -1)
|
||||
close(fd);
|
||||
if (fd[0] != -1)
|
||||
close(fd[0]);
|
||||
return;
|
||||
}
|
||||
if (fd != -1)
|
||||
close(fd);
|
||||
if (fd[0] != -1)
|
||||
close(fd[0]);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 8c0319e31df967e41c74f4121cbdb3b785fe114e
|
||||
Subproject commit 492c22f4447eec9d430a7c737bdd20cbe93263c4
|
||||
Loading…
Reference in New Issue
Block a user