summaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-08-30 23:38:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-08-30 23:38:06 +0200
commitc69cafe7e260144142f8cc89f74c5b3dc8294451 (patch)
tree75bc34a4b66c836eb413985dab189ad5da700b78 /lib/connect.h
parentb73b423ba09c68e9381a5ca8a024f0cb2712de48 (diff)
downloadgnurl-c69cafe7e260144142f8cc89f74c5b3dc8294451.tar.gz
gnurl-c69cafe7e260144142f8cc89f74c5b3dc8294451.tar.bz2
gnurl-c69cafe7e260144142f8cc89f74c5b3dc8294451.zip
connect: fix #ifdefs for debug versions of conn/streamclose() macros
CURLDEBUG is for the memory debugging DEBUGBUILD is for the extra debug stuff Pointed-out-by: Steve Holme
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.h b/lib/connect.h
index c3e43cf66..a7cbc9bc2 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -122,12 +122,12 @@ void Curl_tcpnodelay(struct connectdata *conn, curl_socket_t sockfd);
void Curl_conncontrol(struct connectdata *conn,
int closeit
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
, const char *reason
#endif
);
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
#define streamclose(x,y) Curl_conncontrol(x, CONNCTRL_STREAM, y)
#define connclose(x,y) Curl_conncontrol(x, CONNCTRL_CONNECTION, y)
#define connkeep(x,y) Curl_conncontrol(x, CONNCTRL_KEEP, y)