[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r9178: Hmm. Maybe I should have been compiling these before I check (in tor/trunk: . src/or)



Author: nickm
Date: 2006-12-23 22:09:58 -0500 (Sat, 23 Dec 2006)
New Revision: 9178

Modified:
   tor/trunk/
   tor/trunk/src/or/router.c
Log:
 r11690@Kushana:  nickm | 2006-12-23 22:09:53 -0500
 Hmm. Maybe I should have been compiling these before I checked them in.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11690] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/router.c
===================================================================
--- tor/trunk/src/or/router.c	2006-12-24 03:08:44 UTC (rev 9177)
+++ tor/trunk/src/or/router.c	2006-12-24 03:09:58 UTC (rev 9178)
@@ -339,7 +339,7 @@
   /* 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");