From 18815aa670eeace30e8d61dc581859cfe3df02b5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 4 May 2020 11:37:12 +0200 Subject: ngtcp2: convert to dynbuf Closes #5335 --- lib/dynbuf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/dynbuf.c') diff --git a/lib/dynbuf.c b/lib/dynbuf.c index 81e30ce94..64004952f 100644 --- a/lib/dynbuf.c +++ b/lib/dynbuf.c @@ -123,7 +123,7 @@ void Curl_dyn_reset(struct dynbuf *s) s->leng = 0; } -#if 0 +#ifdef USE_NGTCP2 /* * Specify the size of the tail to keep (number of bytes from the end of the * buffer). The rest will be dropped. @@ -147,7 +147,6 @@ CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail) return CURLE_OK; } - #endif /* -- cgit v1.2.3