diff options
author | Yang Tse <yangsita@gmail.com> | 2009-05-02 02:37:32 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-05-02 02:37:32 +0000 |
commit | 9137e717b04644592b9b527839470337fdd9f44d (patch) | |
tree | e7b9af9f3d06915f4900238ff4f5a077fb05810b /lib/memdebug.c | |
parent | 80186aa7f44ed5155665d96336b508403b3d4a03 (diff) | |
download | curl-9137e717b04644592b9b527839470337fdd9f44d.tar.gz |
Use build-time configured curl_socklen_t instead of socklen_t
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r-- | lib/memdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index 3c74df025..3a0cf7153 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -255,7 +255,7 @@ 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; + curl_socklen_t *addrlen = (curl_socklen_t *)saddrlen; int sockfd=accept(s, addr, addrlen); if(logfile) fprintf(logfile, "FD %s:%d accept() = %d\n", |