[tor-commits] [tor/master] expand documentation on tor_remove_file
nickm at torproject.org
nickm at torproject.org
Wed Dec 20 15:43:32 UTC 2017
commit c99ec36defadf763034b82107f6168987668862f
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Dec 20 10:43:27 2017 -0500
expand documentation on tor_remove_file
---
src/or/main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/or/main.c b/src/or/main.c
index f4050d3a5..2c8dfae2f 100644
--- a/src/or/main.c
+++ b/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)
{
More information about the tor-commits
mailing list