aboutsummaryrefslogtreecommitdiff
path: root/lib/dynbuf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-04 11:37:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-04 14:57:57 +0200
commit18815aa670eeace30e8d61dc581859cfe3df02b5 (patch)
tree3c8fd83c63a6c429d0e1fe50f14bded03a31f0fe /lib/dynbuf.c
parent7a86a25f5b73b86455cd977572250de0a6124524 (diff)
ngtcp2: convert to dynbuf
Closes #5335
Diffstat (limited to 'lib/dynbuf.c')
-rw-r--r--lib/dynbuf.c3
1 files changed, 1 insertions, 2 deletions
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
/*