BUG 2403: endless loop (variable rename gone wrong).

This commit is contained in:
Enno Rehling 2017-12-31 16:36:59 +01:00
parent 643c989cf9
commit 01dd489b7a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)