By jimcuclamath: set maxium allowed password length to the length of the buffer we...
[citadel.git] / citadel / textclient / citadel.c
index b1abf294794d19638ebf0b99088580df4b5a808d..84abf4e94d3de169b84b93a14656c6b0cb2ea606 100644 (file)
@@ -1689,7 +1689,7 @@ int main(int argc, char **argv)
        if (!IsEmptyStr(rc_password)) {
                strcpy(password, rc_password);
        } else {
-               newprompt("\rPlease enter your password: ", password, -19);
+               newprompt("\rPlease enter your password: ", password, -(SIZ-1));
        }
 
        if (*nonce) {