]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix some comments
authorRobert Ransom <rransom.8774@gmail.com>
Sun, 15 May 2011 15:23:29 +0000 (08:23 -0700)
committerRobert Ransom <rransom.8774@gmail.com>
Fri, 20 May 2011 15:25:42 +0000 (08:25 -0700)
src/common/log.c
src/common/torlog.h

index d14563c885c044c2d347209a93b7856d642a30ae..ac98f13539644cd5ec8869166a63218f7e5a57ac 100644 (file)
@@ -390,7 +390,7 @@ logv(int severity, log_domain_mask_t domain, const char *funcname,
 
 /** Output a message to the log.  It gets logged to all logfiles that
  * care about messages with <b>severity</b> in <b>domain</b>. The content
- * is formatted printf style basedc on <b>format</b> and extra arguments.
+ * is formatted printf-style based on <b>format</b> and extra arguments.
  * */
 void
 tor_log(int severity, log_domain_mask_t domain, const char *format, ...)
index 000e32ddab92911785b55380c408e297b594ecef..541a0d1738c00b825719bd16870cedee6d458423 100644 (file)
@@ -146,7 +146,6 @@ void change_callback_log_severity(int loglevelMin, int loglevelMax,
 void flush_pending_log_callbacks(void);
 void log_set_application_name(const char *name);
 
-/* Outputs a message to stdout */
 void tor_log(int severity, log_domain_mask_t domain, const char *format, ...)
   CHECK_PRINTF(3,4);
 #define log tor_log /* hack it so we don't conflict with log() as much */