diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-12-15 17:23:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-12-15 17:25:34 -0500 |
commit | fcbd65b45cbf203b00e6752dabc7bc5b8dffdbcf (patch) | |
tree | 5c27f43119bad03fc2465af47105f801bbe3dc26 /src/or/buffers.c | |
parent | a8190b09a319bf6b1bac7608ea77f828f9970056 (diff) | |
download | tor-fcbd65b45cbf203b00e6752dabc7bc5b8dffdbcf.tar.gz tor-fcbd65b45cbf203b00e6752dabc7bc5b8dffdbcf.zip |
Refactor the safe_str_*() API to make more sense.
The new rule is: safe_str_X() means "this string is a piece of X
information; make it safe to log." safe_str() on its own means
"this string is a piece of who-knows-what; make it safe to log".
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 4448eaa345..5c32274d0a 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1491,7 +1491,7 @@ fetch_from_buf_socks(buf_t *buf, socks_request_t *req, } log_debug(LD_APP, "socks4: successfully read destip (%s)", - safe_str(tmpbuf)); + safe_str_client(tmpbuf)); socks4_prot = socks4; } |