]>
code.citadel.org Git - citadel.git/commitdiff
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
242a6c7)
int haveChar = 0;
int haveNum = 0;
int haveOther = 0;
int haveChar = 0;
int haveNum = 0;
int haveOther = 0;
pch = buf;
while (!IsEmptyStr(pch))
{
pch = buf;
while (!IsEmptyStr(pch))
{
- count = pch - buf;
- if (count > 7)
- count = 0;
- switch (count){
+ if (pch - buf > 7)
+ haveLong = 1;
+ switch (haveLong +
+ haveChar +
+ haveNum +
+ haveOther)
+ {
case 0:
pch = _("very weak");
break;
case 0:
pch = _("very weak");
break;