[or-cvs] [tor/maint-0.2.1] Fix an apparently bogus check; fortunately, it seems to be untriggered.

Nick Mathewson nickm at seul.org
Tue Oct 27 03:14:04 UTC 2009


Author: Nick Mathewson <nickm at torproject.org>
Date: Mon, 26 Oct 2009 23:14:53 -0400
Subject: Fix an apparently bogus check; fortunately, it seems to be untriggered.
Commit: 54973a45a693cf3e0dada2572016fa6695a51e75

---
 src/or/control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/control.c b/src/or/control.c
index f0178d7..ad9081d 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -929,7 +929,7 @@ handle_control_loadconf(control_connection_t *conn, uint32_t len,
         tor_fragile_assert();
         break;
     }
-    if (*errstring)
+    if (errstring)
       connection_printf_to_buf(conn, "%s: %s\r\n", msg, errstring);
     else
       connection_printf_to_buf(conn, "%s\r\n", msg);
-- 
1.5.6.5



More information about the tor-commits mailing list