mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 04:50:37 -04:00
Remove some accidentally-committed debugging code
This commit is contained in:
parent
5c7675cc5a
commit
e0f0dbf99f
3
evutil.c
3
evutil.c
@ -546,9 +546,6 @@ evutil_found_ifaddr(const struct sockaddr *sa)
|
|||||||
{
|
{
|
||||||
const char ZEROES[] = "\x00\x00\x00\x00\x00\x00\x00\x00"
|
const char ZEROES[] = "\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||||
"\x00\x00\x00\x00\x00\x00\x00\x00";
|
"\x00\x00\x00\x00\x00\x00\x00\x00";
|
||||||
char buf[128];
|
|
||||||
|
|
||||||
printf("Sockaddr is %s\n", evutil_format_sockaddr_port(sa, buf, sizeof(buf)));
|
|
||||||
|
|
||||||
if (sa->sa_family == AF_INET) {
|
if (sa->sa_family == AF_INET) {
|
||||||
const struct sockaddr_in *sin = (struct sockaddr_in *)sa;
|
const struct sockaddr_in *sin = (struct sockaddr_in *)sa;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user