summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-03-07 16:16:25 -0500
committerirungentoo <irungentoo@gmail.com>2015-03-07 16:16:25 -0500
commit2af1608059da9dfbf91fd2d25c8367b426ca182a (patch)
tree75c0b39b1ed625b6ed249b0f6489c1504e687620
parent14af278ca840e29fc1dc559606e3438085948380 (diff)
Fixed debug fprintf.
-rw-r--r--toxcore/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/network.c b/toxcore/network.c
index 1488d980..4558f6ff 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)
655 } 655 }
656 656
657#ifdef DEBUG 657#ifdef DEBUG
658 fprintf(stderr, "Failed to bind socket: %u, %s (IP/Port: %s:%u\n", errno, 658 fprintf(stderr, "Failed to bind socket: %u, %s IP: %s port_from: %u port_to: %u\n", errno, strerror(errno),
659 strerror(errno), ip_ntoa(&ip), port); 659 ip_ntoa(&ip), port_from, port_to);
660#endif 660#endif
661 kill_networking(temp); 661 kill_networking(temp);
662 return NULL; 662 return NULL;