[Spice-devel] Add INVALID_PASSWORD link error

Submitted by Cedric Bosdonnat on May 22, 2015, 4:08 p.m.

Details

Message ID 1432310930-20754-1-git-send-email-cbosdonnat@suse.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Cedric Bosdonnat May 22, 2015, 4:08 p.m.
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(-)

Patch hide | download patch | download mbox

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 {