Loading lib/memdebug.c +2 −1 Original line number Diff line number Diff line Loading @@ -208,10 +208,11 @@ int curl_socket(int domain, int type, int protocol, int line, return sockfd; } int curl_accept(int s, void *saddr, socklen_t *addrlen, int curl_accept(int s, void *saddr, void *saddrlen, int line, const char *source) { struct sockaddr *addr = (struct sockaddr *)saddr; socklen_t *addrlen = (socklen_t *)saddrlen; int sockfd=(accept)(s, addr, addrlen); if(logfile) fprintf(logfile, "FD %s:%d accept() = %d\n", Loading lib/memdebug.h +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ void curl_memlimit(long limit); /* file descriptor manipulators */ int curl_socket(int domain, int type, int protocol, int line , const char *); int curl_sclose(int sockfd, int, const char *source); int curl_accept(int s, void *addr, socklen_t *addrlen, int curl_accept(int s, void *addr, void *addrlen, int line, const char *source); /* FILE functions */ Loading Loading
lib/memdebug.c +2 −1 Original line number Diff line number Diff line Loading @@ -208,10 +208,11 @@ int curl_socket(int domain, int type, int protocol, int line, return sockfd; } int curl_accept(int s, void *saddr, socklen_t *addrlen, int curl_accept(int s, void *saddr, void *saddrlen, int line, const char *source) { struct sockaddr *addr = (struct sockaddr *)saddr; socklen_t *addrlen = (socklen_t *)saddrlen; int sockfd=(accept)(s, addr, addrlen); if(logfile) fprintf(logfile, "FD %s:%d accept() = %d\n", Loading
lib/memdebug.h +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ void curl_memlimit(long limit); /* file descriptor manipulators */ int curl_socket(int domain, int type, int protocol, int line , const char *); int curl_sclose(int sockfd, int, const char *source); int curl_accept(int s, void *addr, socklen_t *addrlen, int curl_accept(int s, void *addr, void *addrlen, int line, const char *source); /* FILE functions */ Loading