summaryrefslogtreecommitdiff
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 11:37:12 +0200
commitb54aa88d20f93b080ec80eba8face6a0f683fbeb (patch)
tree77e19f435b45828376a0f0b356b60227021fefa7 /lib/dynbuf.c
parentd2dfa3e68941c4dd6e7261d38bcf7fb5b889d275 (diff)
downloadcurl-bagder/ngtcp2-dynbuf.tar.gz
ngtcp2: convert to dynbufbagder/ngtcp2-dynbuf
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
/*