[tor-commits] [tor/master] Upgrade warning about missing interned string for sandbox

nickm at torproject.org nickm at torproject.org
Thu Apr 17 03:48:07 UTC 2014


commit 739a52592bdb771d7ba4e40b6c9df84ea539f7fd
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Apr 16 12:48:56 2014 -0400

    Upgrade warning about missing interned string for sandbox
---
 src/common/sandbox.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 8cbcd04..73966de 100644
--- a/src/common/sandbox.c
+++ b/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;
 }
 





More information about the tor-commits mailing list