From d3cb0ea6f6ab7be363baf0d395fb4aee91457a85 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 9 Aug 2010 09:31:47 +0200 Subject: put CURL related functions into a separate file --- src/helpers.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/helpers.cpp') diff --git a/src/helpers.cpp b/src/helpers.cpp index 8c29e6f8..e295a84b 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -408,12 +408,3 @@ std::basic_string Scroller(const std::basic_string &str, s return result; } -#ifdef HAVE_CURL_CURL_H -size_t write_data(char *buffer, size_t size, size_t nmemb, void *data) -{ - size_t result = size*nmemb; - static_cast(data)->append(buffer, result); - return result; -} -#endif // HAVE_CURL_CURL_H - -- cgit v1.2.3