浏览代码

expand documentation on tor_remove_file

Nick Mathewson 6 年之前
父节点
当前提交
c99ec36def
共有 1 个文件被更改,包括 4 次插入1 次删除
  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)
 {