fix typos

svn:r2666
This commit is contained in:
Nick Mathewson
2004-11-03 21:53:12 +00:00
parent 65b4c6b830
commit 70f7e32ec6
+2 -2
View File
@@ -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;