summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 2df2b18..58866f8 100644
--- a/parser.c
+++ b/parser.c
@@ -3628,7 +3628,7 @@ static int Go_sys_pwd_92(gchar** response, int channel, char *parameter,int comm
old_password = g_strdup (parameter);
error_num = OK;
- if ((strlen(new_password)< 6) || (strlen(new_password)< 6)) {
+ if ((strlen(new_password)< 6) || (strlen(new_password)>32)) {
error_num = password_change_error;
}