projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edfa870
)
No need to configure CURLOPT_WRITEFUNCTION twice
author
Michael Rasmussen
<mir@datanom.net>
Fri, 25 Jan 2019 23:15:04 +0000
(
00:15
+0100)
committer
Michael Rasmussen
<mir@datanom.net>
Fri, 25 Jan 2019 23:15:04 +0000
(
00:15
+0100)
Signed-off-by: Michael Rasmussen <mir@datanom.net>
src/plugins/litehtml_viewer/http.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/litehtml_viewer/http.cpp
b/src/plugins/litehtml_viewer/http.cpp
index ad86191c8b54be618ece203868ff0ae422638077..7472bd7aba47c50b5675c3f90543c56b6424795d 100644
(file)
--- a/
src/plugins/litehtml_viewer/http.cpp
+++ b/
src/plugins/litehtml_viewer/http.cpp
@@
-80,7
+80,6
@@
GInputStream *http::load_url(const gchar *url, GError **error)
} else {
if (!curl) return NULL;
curl_easy_setopt(curl, CURLOPT_URL, url);
- curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curl_write_data);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&data);
res = curl_easy_perform(curl);
if (res != CURLE_OK) {