summaryrefslogtreecommitdiff
path: root/lib/dynbuf.c
diff options
context:
space:
mode:
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
/*