aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-20 10:43:27 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-20 10:43:27 -0500
commitc99ec36defadf763034b82107f6168987668862f (patch)
treea02114ae9885bf9a419445581cb7dbcac21e4cc1 /src/or/main.c
parent4b7b305bf0513a9b010ab0fc75060dce8d29206a (diff)
downloadtor-c99ec36defadf763034b82107f6168987668862f.tar.gz
tor-c99ec36defadf763034b82107f6168987668862f.zip
expand documentation on tor_remove_file
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index f4050d3a59..2c8dfae2f3 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)
{