summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-01 18:33:02 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-01 18:33:02 +0000
commit85076992560c80502b81424eb08d876e61e0f068 (patch)
tree229ba8e7caad310f01c8b8d25a620f390276a3b0 /src/common
parent6f2a92c5b3b9a9f4431018f78fed3ddafc328882 (diff)
downloadtor-85076992560c80502b81424eb08d876e61e0f068.tar.gz
tor-85076992560c80502b81424eb08d876e61e0f068.zip
r11624@catbus: nickm | 2007-02-01 13:17:35 -0500
Note a few questionable bits pointed out by RATS. (And no, RATS, I'm not about to stop having fixed-sized local buffers for you. I know how to use them, thankyouverymuch.) svn:r9474
Diffstat (limited to 'src/common')
-rw-r--r--src/common/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 6e0366835c..27facbdbff 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -231,6 +231,8 @@ logv(int severity, uint32_t domain, const char *funcname, const char *format,
}
if (lf->is_syslog) {
#ifdef HAVE_SYSLOG_H
+ /* XXXX Some syslog implementations have scary limits on the length of
+ * what you can pass them. Can/should we detect this? */
syslog(severity, "%s", end_of_prefix);
#endif
lf = lf->next;