Bläddra i källkod

expand documentation on tor_remove_file

Nick Mathewson 6 år sedan
förälder
incheckning
c99ec36def
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      src/or/main.c

+ 4 - 1
src/or/main.c

@@ -3397,7 +3397,10 @@ tor_free_all(int postfork)
   }
 }
 
-/** Remove the specified file. */
+/**
+ * Remove the specified file, and log a warning if the operation fails for
+ * any reason other than the file not existing.
+ */
 void
 tor_remove_file(const char *filename)
 {