summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-14 23:44:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-14 23:44:06 +0200
commit0d6b29cc2589973c665b2538dc5e56248b02137f (patch)
treee9cc4503fd6a6be4cb48b7f3bd3a42fad20ef965
parentbbfffbce97ece4d94a0d89784ac3c1525bd8fedd (diff)
downloadcurl-bagder/http2-memleaks.tar.gz
fixup for HTTP-disabled buildsbagder/http2-memleaks
-rw-r--r--lib/http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index 4d8a9d1d5..c0dbc996f 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -156,10 +156,11 @@ struct HTTP {
HTTPSEND_LAST /* never use this */
} sending;
+#ifndef CURL_DISABLE_HTTP
Curl_send_buffer *send_buffer; /* used if the request couldn't be sent in
one chunk, points to an allocated
send_buffer struct */
-
+#endif
#ifdef USE_NGHTTP2
/*********** for HTTP/2 we store stream-local data here *************/
int32_t stream_id; /* stream we are interested in */