diff options
author | Christoffer Sterner <cs@sterner.cc> | 2015-03-07 23:45:00 +0100 |
---|---|---|
committer | Christoffer Sterner <cs@sterner.cc> | 2015-03-07 23:45:00 +0100 |
commit | 3315fd257146bf423a895cf988b90954294a2efe (patch) | |
tree | 7aff2f8fe16637a2fde223f94542094676a850b7 | |
parent | 10ca292f24725d07fc18c7c07a0afcc79f9a73ec (diff) |
Change LOGGER_DEBUG to LOGGER_ERROR for fail bind
-rw-r--r-- | toxcore/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/network.c b/toxcore/network.c index c184bf07..53cadea0 100644 --- a/toxcore/network.c +++ b/toxcore/network.c | |||
@@ -654,7 +654,7 @@ Networking_Core *new_networking_ex(IP ip, uint16_t port_from, uint16_t port_to) | |||
654 | *portptr = htons(port_to_try); | 654 | *portptr = htons(port_to_try); |
655 | } | 655 | } |
656 | 656 | ||
657 | LOGGER_DEBUG("Failed to bind socket: %u, %s IP: %s port_from: %u port_to: %u", errno, strerror(errno), | 657 | LOGGER_ERROR("Failed to bind socket: %u, %s IP: %s port_from: %u port_to: %u", errno, strerror(errno), |
658 | ip_ntoa(&ip), port_from, port_to); | 658 | ip_ntoa(&ip), port_from, port_to); |
659 | 659 | ||
660 | kill_networking(temp); | 660 | kill_networking(temp); |