X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fjournal-remote%2Fjournal-upload.c;h=e16204484e2a40e436ead0e5fa15f46ef957395e;hp=40c380aa9ee2277330cac8e9a081b84ab56da9e1;hb=b88a40a7e592e0a4a2e6e8eb1ed3721989ba5d0e;hpb=141a1ceaa62578f1ed14f04cae2113dd0f49fd7f 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 */