From 2af1608059da9dfbf91fd2d25c8367b426ca182a Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sat, 7 Mar 2015 16:16:25 -0500 Subject: [PATCH] Fixed debug fprintf. --- toxcore/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toxcore/network.c b/toxcore/network.c index 1488d9804..4558f6ff1 100644 --- a/toxcore/network.c +++ b/toxcore/network.c @@ -655,8 +655,8 @@ Networking_Core *new_networking_ex(IP ip, uint16_t port_from, uint16_t port_to) } #ifdef DEBUG - fprintf(stderr, "Failed to bind socket: %u, %s (IP/Port: %s:%u\n", errno, - strerror(errno), ip_ntoa(&ip), port); + fprintf(stderr, "Failed to bind socket: %u, %s IP: %s port_from: %u port_to: %u\n", errno, strerror(errno), + ip_ntoa(&ip), port_from, port_to); #endif kill_networking(temp); return NULL;