瀏覽代碼

Merge branch 'bug22885_squashed'

Nick Mathewson 6 年之前
父節點
當前提交
96cf608b2e
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 5 0
      changes/bug22885
  2. 1 1
      src/or/router.c

+ 5 - 0
changes/bug22885

@@ -0,0 +1,5 @@
+  o Minor bugfixes (relay):
+    - When uploading our descriptor for the first time after startup,
+      report the reason for uploading as "Tor just started" rather than
+      leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
+

+ 1 - 1
src/or/router.c

@@ -1856,7 +1856,7 @@ static const char *desc_gen_reason = NULL;
  * now. */
 static time_t desc_clean_since = 0;
 /** Why did we mark the descriptor dirty? */
-static const char *desc_dirty_reason = NULL;
+static const char *desc_dirty_reason = "Tor just started";
 /** Boolean: do we need to regenerate the above? */
 static int desc_needs_upload = 0;