瀏覽代碼

r11690@Kushana: nickm | 2006-12-23 22:09:53 -0500
Hmm. Maybe I should have been compiling these before I checked them in.


svn:r9178

Nick Mathewson 17 年之前
父節點
當前提交
baac5389a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/router.c

+ 1 - 1
src/or/router.c

@@ -339,7 +339,7 @@ init_keys(void)
   /* Check whether we need to write the fingerprint file. */
   cp = NULL;
   if (file_status(keydir) == FN_FILE)
-    cp = read_str_to_file(keydir, 0, NULL);
+    cp = read_file_to_str(keydir, 0, NULL);
   if (!cp && strcmp(cp, fingerprint_line)) {
     if (write_str_to_file(keydir, fingerprint_line, 0)) {
       log_err(LD_FS, "Error writing fingerprint line to file");