mirror of https://github.com/FreeRDP/FreeRDP
[client,x11] log fuse_session_loop errors
This commit is contained in:
parent
68d3bcb99a
commit
fe3de9b9bf
|
@ -3114,6 +3114,8 @@ static DWORD WINAPI xf_cliprdr_fuse_thread(LPVOID arg)
|
||||||
{
|
{
|
||||||
fuse_session_add_chan(clipboard->fuse_sess, ch);
|
fuse_session_add_chan(clipboard->fuse_sess, ch);
|
||||||
const int err = fuse_session_loop(clipboard->fuse_sess);
|
const int err = fuse_session_loop(clipboard->fuse_sess);
|
||||||
|
if (err != 0)
|
||||||
|
WLog_WARN(TAG, "fuse_session_loop failed with %d", err);
|
||||||
fuse_session_remove_chan(ch);
|
fuse_session_remove_chan(ch);
|
||||||
fuse_session_destroy(clipboard->fuse_sess);
|
fuse_session_destroy(clipboard->fuse_sess);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue