diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-12 04:36:17 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-12 04:36:17 +0000 |
commit | d80d5370e05e611f6edb027ccdf7da8d457cc30e (patch) | |
tree | 295df2e5d58a3c2dcc1579150814cd07ef5a5d1d /src/or/directory.c | |
parent | b5c6a990d3f7e617a563dc8ff73b451351782bb3 (diff) | |
download | tor-d80d5370e05e611f6edb027ccdf7da8d457cc30e.tar tor-d80d5370e05e611f6edb027ccdf7da8d457cc30e.tar.gz |
when we get funny-looking lines on our dirport, shut up about it.
svn:r6135
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 58c989dea..2ac9807ac 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1783,8 +1783,9 @@ directory_handle_command(connection_t *conn) else if (!strncasecmp(headers,"POST",4)) r = directory_handle_command_post(conn, headers, body, body_len); else { - log_warn(LD_PROTOCOL,"Got headers %s with unknown command. Closing.", - escaped(headers)); + log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, + "Got headers %s with unknown command. Closing.", + escaped(headers)); r = -1; } |