[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] fix typos



Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv20719/src/common

Modified Files:
	log.c 
Log Message:
fix typos

Index: log.c
===================================================================
RCS file: /home/or/cvsroot/src/common/log.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- log.c	3 Nov 2004 18:27:19 -0000	1.59
+++ log.c	3 Nov 2004 21:53:12 -0000	1.60
@@ -29,7 +29,7 @@
   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 @@
   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;