fix missing bracket in solaris codepath (#589)

This commit is contained in:
Dimitris Apostolou
2025-01-02 21:25:43 +02:00
committed by GitHub
parent 1760c93474
commit ce07eaa191

View File

@ -767,7 +767,7 @@ HOOKFUNC(int, connect, int sock, const struct sockaddr *addr, unsigned int len)
}
#ifdef IS_SOLARIS
HOOKFUNC(int, __xnet_connect, int sock, const struct sockaddr *addr, unsigned int len)
HOOKFUNC(int, __xnet_connect, int sock, const struct sockaddr *addr, unsigned int len) {
return connect(sock, addr, len);
}
#endif