Skip to content

Commit 66e92dd

Browse files
committed
net: removed debug logging.
1 parent 4031849 commit 66e92dd

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/SDL_net.c

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,15 +1375,16 @@ NET_DatagramSocket *NET_CreateDatagramSocket(NET_Address *addr, Uint16 port)
13751375
}
13761376
}
13771377

1378-
for (struct addrinfo *i = addrwithport; i != NULL; i = i->ai_next) {
1379-
SDL_Log("addr:");
1380-
SDL_Log(" - ai_flags: %d", i->ai_flags);
1381-
SDL_Log(" - ai_family: %d", i->ai_family);
1382-
SDL_Log(" - ai_socktype: %d", i->ai_socktype);
1383-
SDL_Log(" - ai_protocol: %d", i->ai_protocol);
1384-
SDL_Log(" - ai_canonname: '%s'", i->ai_canonname);
1385-
}
1386-
1378+
#if 0
1379+
for (struct addrinfo *i = addrwithport; i != NULL; i = i->ai_next) {
1380+
SDL_Log("addr:");
1381+
SDL_Log(" - ai_flags: %d", i->ai_flags);
1382+
SDL_Log(" - ai_family: %d", i->ai_family);
1383+
SDL_Log(" - ai_socktype: %d", i->ai_socktype);
1384+
SDL_Log(" - ai_protocol: %d", i->ai_protocol);
1385+
SDL_Log(" - ai_canonname: '%s'", i->ai_canonname);
1386+
}
1387+
#endif
13871388

13881389
// Make sockets for all desired interfaces; if addr!=NULL, this is one socket on one interface,
13891390
// but if addr==NULL, it might be multiple sockets for IPv4, IPv6, etc, bound to their INADDR_ANY equivalent.

0 commit comments

Comments
 (0)