[or-cvs] when we get funny-looking lines on our dirport, shut up abo...

arma at seul.org arma at seul.org
Sun Mar 12 04:36:19 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c 
Log Message:
when we get funny-looking lines on our dirport, shut up about it.


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.360
retrieving revision 1.361
diff -u -p -d -r1.360 -r1.361
--- directory.c	5 Mar 2006 09:50:25 -0000	1.360
+++ directory.c	12 Mar 2006 04:36:17 -0000	1.361
@@ -1783,8 +1783,9 @@ directory_handle_command(connection_t *c
   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;
   }
 



More information about the tor-commits mailing list