aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r--lib/memdebug.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h
index 40ba08033..42574cf43 100644
--- a/lib/memdebug.h
+++ b/lib/memdebug.h
@@ -84,9 +84,12 @@ int curl_fclose(FILE *file, int line, const char *source);
curl_accept(sock,addr,len,__LINE__,__FILE__)
#define getaddrinfo(host,serv,hint,res) \
- curl_getaddrinfo(host,serv,hint,res,__LINE__,__FILE__)
+ curl_dogetaddrinfo(host,serv,hint,res,__LINE__,__FILE__)
+#define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \
+ curl_dogetnameinfo(sa,salen,host,hostlen,serv,servlen,flags, __LINE__, \
+ __FILE__)
#define freeaddrinfo(data) \
- curl_freeaddrinfo(data,__LINE__,__FILE__)
+ curl_dofreeaddrinfo(data,__LINE__,__FILE__)
/* sclose is probably already defined, redefine it! */
#undef sclose