]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove extra quotation marks around the result of esc_for_log
authorRobert Ransom <rransom.8774@gmail.com>
Mon, 15 Aug 2011 11:53:11 +0000 (04:53 -0700)
committerNick Mathewson <nickm@torproject.org>
Mon, 15 Aug 2011 14:54:19 +0000 (10:54 -0400)
changes/bug3732 [new file with mode: 0644]
src/or/control.c

diff --git a/changes/bug3732 b/changes/bug3732
new file mode 100644 (file)
index 0000000..7a71d1a
--- /dev/null
@@ -0,0 +1,7 @@
+  o Major bugfixes:
+
+    - Remove an extra pair of quotation marks around the error
+      message in control-port STATUS_GENERAL BUG events.  Bugfix on
+      0.1.2.6-alpha; fixes bug 3732.
+
+
index 954da65143a8b32a4d6988613cfd3fd207c1e44c..de9dca0be9df45c0feec41502bac7605cf34c59d 100644 (file)
@@ -3480,7 +3480,7 @@ control_event_logmsg(int severity, uint32_t domain, const char *msg)
       severity <= LOG_NOTICE) {
     char *esc = esc_for_log(msg);
     ++disable_log_messages;
-    control_event_general_status(severity, "BUG REASON=\"%s\"", esc);
+    control_event_general_status(severity, "BUG REASON=%s", esc);
     --disable_log_messages;
     tor_free(esc);
   }