Explorar o código

Upgrade warning about missing interned string for sandbox

Nick Mathewson %!s(int64=12) %!d(string=hai) anos
pai
achega
739a52592b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/common/sandbox.c

+ 2 - 1
src/common/sandbox.c

@@ -883,7 +883,8 @@ sandbox_intern_string(const char *str)
     }
   }
 
-  log_info(LD_GENERAL, "(Sandbox) Parameter %s not found", str);
+  if (sandbox_active)
+    log_warn(LD_BUG, "No interned sandbox parameter found for %s", str);
   return str;
 }