summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3748823)
raw | patch | inline | side by side (parent: 3748823)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 1 Apr 2016 16:37:19 +0000 (18:37 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 1 Apr 2016 16:37:19 +0000 (18:37 +0200) |
src/write_http.c | patch | blob | history |
diff --git a/src/write_http.c b/src/write_http.c
index 14ce0ec722542a47de52aa360e28a726d15d1322..c817749f0b0bd93cec839176972d63ceb8a7e490 100644 (file)
--- a/src/write_http.c
+++ b/src/write_http.c
if (cb->pass != NULL)
credentials_size += strlen (cb->pass);
- cb->credentials = (char *) malloc (credentials_size);
+ cb->credentials = malloc (credentials_size);
if (cb->credentials == NULL)
{
ERROR ("curl plugin: malloc failed.");