[Spice-devel] [PATCH] Add INVALID_PASSWORD link error

Cédric Bosdonnat cbosdonnat at suse.com
Fri May 22 09:08:50 PDT 2015


This link error reports too long password error, to have proper error
reporting rather than having an undefined behavior in such a case.
---
 Note: commits using this one in spice and spice-gtk will follow.

 spice.proto | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spice.proto b/spice.proto
index 01493c9..32768bf 100644
--- a/spice.proto
+++ b/spice.proto
@@ -45,7 +45,8 @@ enum32 link_err {
     NEED_UNSECURED,
     PERMISSION_DENIED,
     BAD_CONNECTION_ID,
-    CHANNEL_NOT_AVAILABLE
+    CHANNEL_NOT_AVAILABLE,
+    INVALID_PASSWORD
 };
 
 enum32 warn_code {
-- 
2.1.4



More information about the Spice-devel mailing list