diff options
| -rw-r--r-- | sys/src/cmd/vnc/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/vnc/auth.c b/sys/src/cmd/vnc/auth.c index 58d4f42a1..1a19c12a1 100644 --- a/sys/src/cmd/vnc/auth.c +++ b/sys/src/cmd/vnc/auth.c @@ -77,7 +77,7 @@ sectype38(Vnc *v) type == ANoAuth ? "None" : type == AVncAuth ? "VNC" : "Unknown"); } - if(type > auth) + if(type > auth && type <= AVncAuth) auth = type; } return auth; |
