aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-03 21:53:12 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-03 21:53:12 +0000
commit70f7e32ec6bc73d25d1b7e5e86d657594d2c4b4d (patch)
tree9437c6c2345f964aa1aaeb3abdd063e8000c83c8 /src/common
parent65b4c6b83078ec353e973b748550ac0a33523ef8 (diff)
downloadtor-70f7e32ec6bc73d25d1b7e5e86d657594d2c4b4d.tar
tor-70f7e32ec6bc73d25d1b7e5e86d657594d2c4b4d.tar.gz
fix typos
svn:r2666
Diffstat (limited to 'src/common')
-rw-r--r--src/common/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/log.c b/src/common/log.c
index f8f80b909..f468487da 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -29,7 +29,7 @@ typedef struct logfile_t {
int max_loglevel; /**< Highest severity level to send to this stream. */
int is_temporary; /**< Boolean: close after initializing logging subsystem.*/
int is_syslog; /**< Boolean: send messages to syslog. */
- log_callback callback; /**< If not num, send messages to this function. */
+ log_callback callback; /**< If not NULL, send messages to this function. */
} logfile_t;
/** Helper: map a log severity to descriptive string. */
@@ -311,7 +311,7 @@ int add_callback_log(int loglevelMin, int loglevelMax, log_callback cb)
lf = tor_malloc_zero(sizeof(logfile_t));
lf->loglevel = loglevelMin;
lf->max_loglevel = loglevelMax;
- lf->filename = tor_strdup("callback>");
+ lf->filename = tor_strdup("<callback>");
lf->callback = cb;
lf->next = logfiles;
logfiles = lf;