[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Use LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines.



commit 37f8a2263ec6cd890685af76926c9f8bba9921d9
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date:   Fri Nov 2 23:48:53 2012 +0200

    Use LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines.
---
 src/or/transports.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/transports.c b/src/or/transports.c
index e1ed24d..a532f87 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -964,7 +964,7 @@ parse_smethod_line(const char *line, managed_proxy_t *mp)
   }
 
   addrport = smartlist_get(items, 2);
-  if (tor_addr_port_split(LOG_PROTOCOL_WARN, addrport, &address, &port)<0) {
+  if (tor_addr_port_split(LOG_WARN, addrport, &address, &port)<0) {
     log_warn(LD_CONFIG, "Error parsing transport "
              "address '%s'", addrport);
     goto err;
@@ -1056,7 +1056,7 @@ parse_cmethod_line(const char *line, managed_proxy_t *mp)
   }
 
   addrport = smartlist_get(items, 3);
-  if (tor_addr_port_split(LOG_PROTOCOL_WARN, addrport, &address, &port)<0) {
+  if (tor_addr_port_split(LOG_WARN, addrport, &address, &port)<0) {
     log_warn(LD_CONFIG, "Error parsing transport "
              "address '%s'", addrport);
     goto err;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits