[Commits] [SCM] claws branch, litehtml, updated. 3.17.0-154-g47e7c62
miras at claws-mail.org
miras at claws-mail.org
Thu Nov 8 00:50:44 CET 2018
The branch, litehtml has been updated
via 47e7c627912d250e1aaf279196d644499de373fe (commit)
from 1b432d81b95f9d908900124cd8d7aab0b5273099 (commit)
Summary of changes:
src/plugins/litehtml_viewer/http.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 47e7c627912d250e1aaf279196d644499de373fe
Author: Michael Rasmussen <mir at datanom.net>
Date: Thu Nov 8 00:50:37 2018 +0100
I am tired ;-)
Signed-off-by: Michael Rasmussen <mir at datanom.net>
diff --git a/src/plugins/litehtml_viewer/http.cpp b/src/plugins/litehtml_viewer/http.cpp
index 2a8709a..5f24e2a 100644
--- a/src/plugins/litehtml_viewer/http.cpp
+++ b/src/plugins/litehtml_viewer/http.cpp
@@ -27,7 +27,7 @@ size_t http::curl_write_data(char* ptr, size_t size, size_t nmemb, void* data_pt
size_t realsize = size * nmemb;
char *input = (char *) realloc(data->memory, data->size + realsize + 1);
- if(ptr == NULL) {
+ if(input == NULL) {
/* out of memory! */
g_log(NULL, G_LOG_LEVEL_ERROR, "not enough memory (realloc returned NULL)");
return 0;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list