From 37f8a2263ec6cd890685af76926c9f8bba9921d9 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Fri, 2 Nov 2012 23:48:53 +0200 Subject: Use LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines. --- src/or/transports.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or') diff --git a/src/or/transports.c b/src/or/transports.c index e1ed24dbf..a532f8750 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; -- cgit v1.2.3