瀏覽代碼

Make network-status strings wellformed

svn:r4857
Nick Mathewson 20 年之前
父節點
當前提交
f559c49c39
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/dirserv.c

+ 1 - 1
src/or/dirserv.c

@@ -1033,7 +1033,7 @@ static cached_dir_t the_v2_networkstatus = { NULL, NULL, 0, 0, 0 };
 static int
 static int
 generate_v2_networkstatus(void)
 generate_v2_networkstatus(void)
 {
 {
-#define BASE64_DIGEST_LEN 29
+#define BASE64_DIGEST_LEN 27
 #define LONGEST_STATUS_FLAG_NAME_LEN 7
 #define LONGEST_STATUS_FLAG_NAME_LEN 7
 #define N_STATUS_FLAGS 6
 #define N_STATUS_FLAGS 6
 #define RS_ENTRY_LEN                                                    \
 #define RS_ENTRY_LEN                                                    \