From 8f5d084383740f0848c4e181bde90a2aa238d9d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Mar 2013 22:04:25 +0000 Subject: MS_NETLIB_URLENCODE removed from all plugins, but still exists in the core git-svn-id: http://svn.miranda-ng.org/main/trunk@4181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/http.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'protocols/Twitter/src') diff --git a/protocols/Twitter/src/http.cpp b/protocols/Twitter/src/http.cpp index f953ec1973..912219dfaf 100644 --- a/protocols/Twitter/src/http.cpp +++ b/protocols/Twitter/src/http.cpp @@ -23,9 +23,5 @@ along with this program. If not, see . std::string http::url_encode(const std::string &s) { - char *encoded = reinterpret_cast(CallService( MS_NETLIB_URLENCODE,0,reinterpret_cast(s.c_str()))); - std::string ret = encoded; - HeapFree(GetProcessHeap(),0,encoded); - - return ret; + return mir_ptr( mir_urlEncode( s.c_str())); } -- cgit v1.2.3