Explorar o código

Log how many auth entries will be removed

Bryan Drewery %!s(int64=7) %!d(string=hai) anos
pai
achega
050bdeaeb6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/auth.cc

+ 1 - 1
src/auth.cc

@@ -173,7 +173,7 @@ void Auth::DeleteAll() noexcept
 {
   if (!ischanhub())
     return;
-  putlog(LOG_DEBUG, "*", STR("Removing auth entries."));
+  putlog(LOG_DEBUG, "*", STR("Removing %zd auth entries."), ht_host.size());
   std::vector<const Auth*> delete_auths;
   delete_auths.reserve(ht_host.size());
   for (const auto& kv : ht_host) {