From fe3de9b9bfb8c3d09df3a5bc0324d3b59121d527 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 21 Feb 2023 14:15:35 +0100 Subject: [PATCH] [client,x11] log fuse_session_loop errors --- client/X11/xf_cliprdr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/X11/xf_cliprdr.c b/client/X11/xf_cliprdr.c index 3049bbc9b..4cdddd8fc 100644 --- a/client/X11/xf_cliprdr.c +++ b/client/X11/xf_cliprdr.c @@ -3114,6 +3114,8 @@ static DWORD WINAPI xf_cliprdr_fuse_thread(LPVOID arg) { fuse_session_add_chan(clipboard->fuse_sess, ch); 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_destroy(clipboard->fuse_sess); }