summaryrefslogtreecommitdiff
path: root/src/helpers.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2010-08-09 09:31:47 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2010-08-09 09:31:47 +0200
commitd3cb0ea6f6ab7be363baf0d395fb4aee91457a85 (patch)
treebbaee2049b9c95c67158227139777ee11420db73 /src/helpers.cpp
parent8b109d07366829550e02d43df14e8552b75c2af9 (diff)
put CURL related functions into a separate file
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r--src/helpers.cpp9
1 files changed, 0 insertions, 9 deletions
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<my_char_t> Scroller(const std::basic_string<my_char_t> &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<std::string *>(data)->append(buffer, result);
- return result;
-}
-#endif // HAVE_CURL_CURL_H
-