mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 03:25:31 +03:00
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).
This commit is contained in:
parent
141a1ceaa6
commit
b88a40a7e5
Notes:
Lennart Poettering
2014-10-24 18:30:08 +02:00
Backport: bugfix
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user