From d80d5370e05e611f6edb027ccdf7da8d457cc30e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 12 Mar 2006 04:36:17 +0000 Subject: when we get funny-looking lines on our dirport, shut up about it. svn:r6135 --- src/or/directory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/or/directory.c') 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; } -- cgit v1.2.3