]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
DYNBUF.md: fix a typo: trail => tail
authorDenis Baručić <barucden@fel.cvut.cz>
Wed, 24 Jun 2020 07:55:20 +0000 (09:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 24 Jun 2020 09:33:02 +0000 (11:33 +0200)
Closes #5599

docs/DYNBUF.md

index 550477ee1e6ea21f624643737d0722736545375c..382c1365dbeabef565e42f5a1d3d010f90045efb 100644 (file)
@@ -50,7 +50,7 @@ Reset the buffer length, but leave the allocation.
 
 ## tail
 
-    CURLcode Curl_dyn_trail(struct dynbuf *s, size_t length)
+    CURLcode Curl_dyn_tail(struct dynbuf *s, size_t length)
 
 Keep `length` bytes of the buffer tail (the last `length` bytes of the
 buffer). The rest of the buffer is dropped. The specified `length` must not be