Merge branch 'worfox-new_api' into new_api

This commit is contained in:
irungentoo 2015-03-08 19:08:33 -04:00
commit 73b9cf48f9
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -654,10 +654,9 @@ Networking_Core *new_networking_ex(IP ip, uint16_t port_from, uint16_t port_to)
*portptr = htons(port_to_try);
}
#ifdef DEBUG
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
LOGGER_ERROR("Failed to bind socket: %u, %s IP: %s port_from: %u port_to: %u", errno, strerror(errno),
ip_ntoa(&ip), port_from, port_to);
kill_networking(temp);
return NULL;
}