diff --git a/client/src/main.c b/client/src/main.c index 1454c3b8..a3afb777 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -851,12 +851,6 @@ int spiceThread(void * arg) .port = g_params.spicePort, .password = "", .ready = spiceReady, - .log = - { - .info = debug_info, - .warn = debug_warn, - .error = debug_error, - }, .clipboard = { .enable = g_params.useSpiceClipboard, @@ -1065,6 +1059,17 @@ static int lg_run(void) return -1; } + const PSInit psInit = + { + .log = + { + .info = debug_info, + .warn = debug_warn, + .error = debug_error, + } + }; + purespice_init(&psInit); + if (g_params.useSpiceInput || g_params.useSpiceClipboard || g_params.useSpiceAudio) diff --git a/repos/PureSpice b/repos/PureSpice index 2ba840c2..0cb33f30 160000 --- a/repos/PureSpice +++ b/repos/PureSpice @@ -1 +1 @@ -Subproject commit 2ba840c2e9ddee211b752a84ae8f4b4db83c9738 +Subproject commit 0cb33f30cafb3f1ca2478b18530992b6ce27b75b