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:
parent
3f4b171523
commit
416fe38e33
4 changed files with 35 additions and 52 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue