projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* extract_token() now expects to be supplied with the size of the
[citadel.git]
/
citadel
/
serv_pas2.c
diff --git
a/citadel/serv_pas2.c
b/citadel/serv_pas2.c
index c3f31cea3d9c66ab81acbb3eab1a2518c8e8f4cc..0de1a66ee24549f7c91883585186106b37aedc0c 100644
(file)
--- a/
citadel/serv_pas2.c
+++ b/
citadel/serv_pas2.c
@@
-34,7
+34,7
@@
void cmd_pas2(char *argbuf)
{
- char pw[
SIZ
];
+ char pw[
256
];
char hexstring[MD5_HEXSTRING_SIZE];
@@
-50,7
+50,7
@@
void cmd_pas2(char *argbuf)
return;
}
- extract
(pw, argbuf, 0
);
+ extract
_token(pw, argbuf, 0, '|', sizeof pw
);
if (getuser(&CC->user, CC->curr_user))
{