diff --git a/src/jrd/cch.cpp b/src/jrd/cch.cpp index d94cad7480..4bbf0185ad 100644 --- a/src/jrd/cch.cpp +++ b/src/jrd/cch.cpp @@ -1820,7 +1820,7 @@ void CCH_mark(thread_db* tdbb, WIN * window, USHORT mark_system, USHORT must_wri bdb->bdb_backup_lock_owner = attachment_lock_owner; } -set_diff_page(tdbb, bdb); + set_diff_page(tdbb, bdb); } diff --git a/src/jrd/pwd.cpp b/src/jrd/pwd.cpp index 408898f834..a4fd68ed1e 100644 --- a/src/jrd/pwd.cpp +++ b/src/jrd/pwd.cpp @@ -163,12 +163,12 @@ namespace { { FailedLogin& l = (*this)[pos]; if (t - l.lastAttempt >= FAILURE_DELAY) - { + { l.failCount = 0; } l.lastAttempt = t; if (++l.failCount >= MAX_FAILED_ATTEMPTS) - { + { l.failCount = 0; Jrd::DelayFailedLogin::raise(FAILURE_DELAY); }