From b49c70cc2ed54f511e2b41f7ed61d357c88300be Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sun, 5 Nov 2017 12:18:49 +0100 Subject: [PATCH] Fix incorrect ref to evhttp_get_decoded_uri in http.h Replaces reference in the http.h include header file to evhttp_get_decoded_uri with evhttp_uridecode. There is no function called evhttp_get_decoded_uri. --- include/event2/http.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/event2/http.h b/include/event2/http.h index acee55208..2a41303ed 100644 --- a/include/event2/http.h +++ b/include/event2/http.h @@ -930,14 +930,14 @@ char *evhttp_uriencode(const char *str, ev_ssize_t size, int space_to_plus); /** Helper function to sort of decode a URI-encoded string. Unlike - evhttp_get_decoded_uri, it decodes all plus characters that appear + evhttp_uridecode, it decodes all plus characters that appear _after_ the first question mark character, but no plusses that occur before. This is not a good way to decode URIs in whole or in part. The returned string must be freed by the caller @deprecated This function is deprecated; you probably want to use - evhttp_get_decoded_uri instead. + evhttp_uridecode instead. @param uri an encoded URI @return a newly allocated unencoded URI or NULL on failure