diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-27 05:53:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-27 05:53:07 +0000 |
commit | bc62f8e983e913c8a37f3412466b8bc9d360b614 (patch) | |
tree | 250a926a93cfb511368c69c3c152bb8744097d98 /src/common/log.c | |
parent | 7d4854301c719e71bd94be5eaec732a9b1e74c0d (diff) | |
download | tor-bc62f8e983e913c8a37f3412466b8bc9d360b614.tar.gz tor-bc62f8e983e913c8a37f3412466b8bc9d360b614.zip |
Replace sprintf with snprintf
svn:r2602
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c index 3a64750ca0..06da75839d 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -142,7 +142,7 @@ static INLINE char *format_msg(char *buf, size_t buf_len, /** Helper: sends a message to the appropriate logfiles, at loglevel * <b>severity</b>. If provided, <b>funcname</b> is prepended to the - * message. The actual message is derived as from vsprintf(format,ap). + * message. The actual message is derived as from vsnprintf(format,ap). */ static void logv(int severity, const char *funcname, const char *format, va_list ap) |