浏览代码

Fix an apparently bogus check; fortunately, it seems to be untriggered.

Nick Mathewson 16 年之前
父节点
当前提交
54973a45a6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/control.c

+ 1 - 1
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);