listen: fix "unused parameter" warning on WIN32
This commit is contained in:
parent
e8ebb1af91
commit
a016fb4048
@ -422,6 +422,8 @@ static int get_remote_uid(int fd)
|
|||||||
|
|
||||||
if (getpeereid(fd, &euid, &egid) == 0)
|
if (getpeereid(fd, &euid, &egid) == 0)
|
||||||
return euid;
|
return euid;
|
||||||
|
#else
|
||||||
|
(void)fd;
|
||||||
#endif
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user