mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-11 11:02:20 +00:00
Cleanup file descriptors and add more info
This commit is contained in:
@@ -155,8 +155,8 @@ int xlisten(int sockfd, int backlog) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
int xaccept(int sockfd, struct sockaddr *addr, socklen_t *addrlen) {
|
||||
int fd = accept(sockfd, addr, addrlen);
|
||||
int xaccept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) {
|
||||
int fd = accept4(sockfd, addr, addrlen, flags);
|
||||
if (fd == -1) {
|
||||
PLOGE("accept");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user