You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by rr...@apache.org on 2021/08/10 19:50:12 UTC

[trafficserver] branch master updated: Doc: Fix TSUrlPercentEncode documentation(#8228)

This is an automated email from the ASF dual-hosted git repository.

rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 6683d7a  Doc: Fix TSUrlPercentEncode documentation(#8228)
6683d7a is described below

commit 6683d7a4b5a39a12ce5229321d7da5e6cac7e320
Author: Damian Meden <da...@gmail.com>
AuthorDate: Tue Aug 10 20:49:30 2021 +0100

    Doc: Fix TSUrlPercentEncode documentation(#8228)
    
    Co-authored-by: Damian Meden <da...@verizonmedia.com>
---
 doc/developer-guide/api/functions/TSUrlPercentEncode.en.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/developer-guide/api/functions/TSUrlPercentEncode.en.rst b/doc/developer-guide/api/functions/TSUrlPercentEncode.en.rst
index d342368..2535e27 100644
--- a/doc/developer-guide/api/functions/TSUrlPercentEncode.en.rst
+++ b/doc/developer-guide/api/functions/TSUrlPercentEncode.en.rst
@@ -65,7 +65,7 @@ length of the source *not* including the null. E.g. ::
    size_t length; // return value.
    // sizeof(ORIGINAL) includes the null, so don't include that in the input.
    static const size_t N_CHARS = sizeof(ORIGINAL) - 1;
-   TSReturnCode result = TSUrlPercentDecode(source, N_CHARS, source, N_CHARS + 1, &length);
+   TSReturnCode result = TSStringPercentDecode(source, N_CHARS, source, N_CHARS + 1, &length);
    ink_assert(length == N_CHARS);
 
 Return Values