forked from github/server
BUG 2403: endless loop (variable rename gone wrong).
This commit is contained in:
parent
643c989cf9
commit
01dd489b7a
|
@ -316,7 +316,7 @@ bool checkpasswd(const faction * f, const char *passwd)
|
|||
if (!passwd) return false;
|
||||
|
||||
if (f->_password && password_verify(f->_password, passwd) == VERIFY_FAIL) {
|
||||
log_warning("password check failed: %s", factionname(f));
|
||||
log_info("password check failed: %s", factionname(f));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -2230,7 +2230,7 @@ report_plaintext(const char *filename, report_context * ctx,
|
|||
(int)str_strlcpy(bufp, LOC(f->locale, resourcename(rm->rtype, 0)), size);
|
||||
if (wrptr(&bufp, &size, bytes) != 0)
|
||||
WARN_STATIC_BUFFER();
|
||||
++m;
|
||||
++rm;
|
||||
if (rm->number)
|
||||
bytes = (int)str_strlcpy(bufp, ", ", size);
|
||||
if (wrptr(&bufp, &size, bytes) != 0)
|
||||
|
|
Loading…
Reference in New Issue