Merge tag 'v0.21.16'
release v0.21.16
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#ifndef CURL_EASY_HXX
|
||||
#define CURL_EASY_HXX
|
||||
|
||||
#include "String.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <curl/curl.h>
|
||||
@@ -208,8 +209,8 @@ public:
|
||||
return ::curl_easy_pause(handle, CURLPAUSE_CONT) == CURLE_OK;
|
||||
}
|
||||
|
||||
char *Escape(const char *string, int length=0) const noexcept {
|
||||
return curl_easy_escape(handle, string, length);
|
||||
CurlString Escape(const char *string, int length=0) const noexcept {
|
||||
return CurlString(curl_easy_escape(handle, string, length));
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user