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

[or-cvs] r14081: Backport: Patch from Sebastian Hahn: give an error message o (in tor/branches/tor-0_2_0-patches: . src/or)



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

Modified:
   tor/branches/tor-0_2_0-patches/
   tor/branches/tor-0_2_0-patches/src/or/routerlist.c
Log:
 r18892@catbus:  nickm | 2008-03-17 13:21:04 -0400
 Backport: Patch from Sebastian Hahn: give an error message on "error replacing old router store."



Property changes on: tor/branches/tor-0_2_0-patches
___________________________________________________________________
 svk:merge ticket from /tor/020 [r18892] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/branches/tor-0_2_0-patches/src/or/routerlist.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/routerlist.c	2008-03-17 17:21:12 UTC (rev 14080)
+++ tor/branches/tor-0_2_0-patches/src/or/routerlist.c	2008-03-17 17:21:22 UTC (rev 14081)
@@ -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;
   }