summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-05-15 05:00:24 +0000
committerRoger Dingledine <arma@torproject.org>2005-05-15 05:00:24 +0000
commit28195a0eb140ef4be2e05c406eaa7a751d50db08 (patch)
treec01cd0105b60884ab22162e5a49091aae9ec5451 /src/or/main.c
parent5837711b0abcb43a43fb2573df598f7cbc9b82ba (diff)
downloadtor-28195a0eb140ef4be2e05c406eaa7a751d50db08.tar.gz
tor-28195a0eb140ef4be2e05c406eaa7a751d50db08.zip
clean up some log entries
svn:r4228
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index df3d9d9fc1..92dfdfefe5 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -849,7 +849,7 @@ static int do_hup(void) {
char keydir[512];
or_options_t *options = get_options();
- log_fn(LOG_NOTICE,"Received sighup. Reloading config.");
+ log(LOG_NOTICE,"Received sighup. Reloading config.");
has_completed_circuit=0;
if (accounting_is_enabled(options))
accounting_record_bandwidth_usage(time(NULL));
@@ -1195,7 +1195,7 @@ static int tor_init(int argc, char *argv[]) {
/* give it somewhere to log to initially */
add_temp_log();
- log_fn(LOG_NOTICE,"Tor v%s. This is experimental software. Do not rely on it for strong anonymity.",VERSION);
+ log(LOG_NOTICE,"Tor v%s. This is experimental software. Do not rely on it for strong anonymity.",VERSION);
if (network_init()<0) {
log_fn(LOG_ERR,"Error initializing network; exiting.");