diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-09 01:24:10 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-09 01:24:10 +0000 |
commit | 8c7b2ff7eda913e8c09d5dfc7d522dd8725810bb (patch) | |
tree | 0d3d32328c269b050b1757eb43b8e6cf38a8314b /src/common | |
parent | cb5de85585c8084dd515baa351cb5d628adefcd1 (diff) | |
download | tor-8c7b2ff7eda913e8c09d5dfc7d522dd8725810bb.tar tor-8c7b2ff7eda913e8c09d5dfc7d522dd8725810bb.tar.gz |
various fixes
svn:r2712
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 2 | ||||
-rw-r--r-- | src/common/log.c | 2 | ||||
-rw-r--r-- | src/common/util.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 7ecc6d9b4..c9842b98d 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -69,7 +69,7 @@ #include "log.h" #include "util.h" -/* Inline the strl functions if the plaform doesn't have them. */ +/* Inline the strl functions if the platform doesn't have them. */ #ifndef HAVE_STRLCPY #include "strlcpy.c" #endif diff --git a/src/common/log.c b/src/common/log.c index 569d6b2fa..c61d0a5d4 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -367,7 +367,7 @@ int add_syslog_log(int loglevelMin, int loglevelMax) { logfile_t *lf; if (syslog_count++ == 0) - /* This is the the first syslog. */ + /* This is the first syslog. */ openlog("Tor", LOG_NDELAY, LOG_DAEMON); lf = tor_malloc_zero(sizeof(logfile_t)); diff --git a/src/common/util.c b/src/common/util.c index fbe0902ce..292b7cfd5 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -34,7 +34,6 @@ #include <string.h> #include <assert.h> - #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif |