diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-09 17:07:22 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-09 17:07:22 +0000 |
commit | 1f585987c4b20cc12f789a9943abffa5d8205c7b (patch) | |
tree | d353876af61fff0f4add4bd77525b161e6b968c7 /src/common | |
parent | 2936da4c28d1f131cf85e839ca70ee2914e75bdc (diff) | |
download | tor-1f585987c4b20cc12f789a9943abffa5d8205c7b.tar tor-1f585987c4b20cc12f789a9943abffa5d8205c7b.tar.gz |
Another escape() fix, for picky sprintfs.
svn:r6579
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index e7dc9ccbc..2af0cf7b4 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -623,7 +623,7 @@ esc_for_log(const char *s) if (TOR_ISPRINT(*cp) && ((uint8_t)*cp)<127) { *outp++ = *cp; } else { - tor_snprintf(outp, 5, "\\%03o", (uint8_t) *cp); + tor_snprintf(outp, 5, "\\%03o", (int)(uint8_t) *cp); outp += 4; } break; |