summaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-10-15 18:38:38 +0000
committerNick Mathewson <nickm@torproject.org>2003-10-15 18:38:38 +0000
commit22ef733058bb2de02af1b1463f51259ab4462df1 (patch)
tree3f42e816dfaff05baad88adf7aef5153409af384 /src/common/log.h
parent7432d973366ec92f895ef16fb6b820a5f4524b95 (diff)
downloadtor-22ef733058bb2de02af1b1463f51259ab4462df1.tar.gz
tor-22ef733058bb2de02af1b1463f51259ab4462df1.zip
Make add_file_log return 0 on success.
svn:r594
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 7c481379a0..d5b8e9b260 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -28,7 +28,7 @@
void log_set_severity(int severity);
void add_stream_log(int loglevel, const char *name, FILE *stream);
-void add_file_log(int severity, const char *filename);
+int add_file_log(int severity, const char *filename);
void close_logs();
void reset_logs();