diff options
author | George Kadianakis <desnacked@riseup.net> | 2012-11-02 23:48:53 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2012-11-02 23:48:53 +0200 |
commit | 37f8a2263ec6cd890685af76926c9f8bba9921d9 (patch) | |
tree | 8745281eaac224997424ce7f80e02268d3ec8954 | |
parent | 03b32161bc37766864bcb099b76884099c89d837 (diff) | |
download | tor-37f8a2263ec6cd890685af76926c9f8bba9921d9.tar.gz tor-37f8a2263ec6cd890685af76926c9f8bba9921d9.zip |
Use LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines.
-rw-r--r-- | 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 e1ed24dbf4..a532f87502 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; |