[gtk-vnc] ard: set connection error
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] ard: set connection error
- Date: Thu, 27 May 2021 12:32:20 +0000 (UTC)
commit 5e4bfa3ab6e5309d6bd6b2b7852f267ccf1e8a02
Author: Jakub Janků <jjanku redhat com>
Date: Wed May 5 22:31:12 2021 +0200
ard: set connection error
As with vncEncryptBytes2 in the earlier patch,
the connection error must be set, otherwise the connection
stays in the mainloop, but nothing is happening.
Signed-off-by: Jakub Janků <jjanku redhat com>
src/vncconnection.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index 5271274..cb59fa9 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -4242,6 +4242,8 @@ cleanup_mem:
free(key);
if (gcry_err_code(error) != GPG_ERR_NO_ERROR) {
+ vnc_connection_set_error(conn, "Unknown authentication failure: %s",
+ gcry_strerror(error));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]