projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eedb35
)
By jimcuclamath: set maxium allowed password length to the length of the buffer we...
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 30 Jan 2011 10:00:47 +0000
(11:00 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 4 Sep 2011 14:10:47 +0000
(14:10 +0000)
citadel/textclient/citadel.c
patch
|
blob
|
history
diff --git
a/citadel/textclient/citadel.c
b/citadel/textclient/citadel.c
index ef2685edadd7d0a15f7b7128cb36a73300821cfd..3b3fba25d39aed0163dec8fcb2e637e969378013 100644
(file)
--- a/
citadel/textclient/citadel.c
+++ b/
citadel/textclient/citadel.c
@@
-1660,7
+1660,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) {