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

[or-cvs] r14080: Patch from Sebastian Hahn: give an error message on "error r (in tor/trunk: . src/or)



Author: nickm
Date: 2008-03-17 13:21:12 -0400 (Mon, 17 Mar 2008)
New Revision: 14080

Modified:
   tor/trunk/
   tor/trunk/src/or/routerlist.c
Log:
 r18891@catbus:  nickm | 2008-03-17 13:20:20 -0400
 Patch from Sebastian Hahn: give an error message on "error replacing old router store."



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r18891] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2008-03-17 17:21:09 UTC (rev 14079)
+++ tor/trunk/src/or/routerlist.c	2008-03-17 17:21:12 UTC (rev 14080)
@@ -643,7 +643,7 @@
   }
 
   if (replace_file(fname_tmp, fname)<0) {
-    log_warn(LD_FS, "Error replacing old router store.");
+    log_warn(LD_FS, "Error replacing old router store: %s", strerror(errno));
     goto done;
   }