summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilippe De Swert <philippedeswert@gmail.com>2014-09-18 18:56:55 +0300
committerTom Gundersen <teg@jklm.no>2014-09-18 18:32:18 +0200
commitb88a40a7e592e0a4a2e6e8eb1ed3721989ba5d0e (patch)
tree1053f81ac2a5ac8c4511b92a0b9874cb0de8f894 /src
parent141a1ceaa62578f1ed14f04cae2113dd0f49fd7f (diff)
journal-upload: Remove compilation warning
When compiling we see this curl warning popping up: src/journal-remote/journal-upload.c:194:17: warning: call to ‘_curl_easy_setopt_err_error_buffer’ declared with attribute warning: curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option [enabled by default] This patch removes the warning (which occurs twice).
Diffstat (limited to 'src')
-rw-r--r--src/journal-remote/journal-upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-upload.c b/src/journal-remote/journal-upload.c
index 40c380aa9..e16204484 100644
--- a/src/journal-remote/journal-upload.c
+++ b/src/journal-remote/journal-upload.c
@@ -191,7 +191,7 @@ int start_upload(Uploader *u,
easy_setopt(curl, CURLOPT_POST, 1L,
LOG_ERR, return -EXFULL);
- easy_setopt(curl, CURLOPT_ERRORBUFFER, &u->error,
+ easy_setopt(curl, CURLOPT_ERRORBUFFER, u->error,
LOG_ERR, return -EXFULL);
/* set where to write to */