chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC
[elogind.git]
/
src
/
import
/
curl-util.c
diff --git
a/src/import/curl-util.c
b/src/import/curl-util.c
index 313b04b0b82e57369bcbb0576dc8d42bbd0289cf..d390cfb1f3e5f0978bfdfb075a300cae3d22dcca 100644
(file)
--- a/
src/import/curl-util.c
+++ b/
src/import/curl-util.c
@@
-303,7
+303,7
@@
int curl_glue_make(CURL **ret, const char *url, void *userdata) {
goto fail;
}
goto fail;
}
- useragent = str
append
a(program_invocation_short_name, "/" PACKAGE_VERSION);
+ useragent = str
join
a(program_invocation_short_name, "/" PACKAGE_VERSION);
if (curl_easy_setopt(c, CURLOPT_USERAGENT, useragent) != CURLE_OK) {
r = -EIO;
goto fail;
if (curl_easy_setopt(c, CURLOPT_USERAGENT, useragent) != CURLE_OK) {
r = -EIO;
goto fail;