1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-10 14:12:58 +00:00

Satisfy some deprecation warnings of newer Linux distributions

This commit is contained in:
Gerhard Rieger 2025-01-17 14:43:35 +01:00
parent 3f4b171523
commit 416fe38e33
4 changed files with 35 additions and 52 deletions

View file

@ -1679,7 +1679,9 @@ int xiocheckrange(union sockaddr_union *sa, struct xiorange *range) {
int xiocheckpeer(xiosingle_t *sfd,
union sockaddr_union *pa, union sockaddr_union *la) {
char infobuff[256];
#if (WITH_TCP || WITH_UDP) && WITH_LIBWRAP
int result;
#endif
#if WITH_IP4 || WITH_IP6
if (sfd->para.socket.dorange) {