index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-04-20 19:45:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-20 19:47:39 -0500 |
commit | 4af6c72d790e13fd28abc0d7b2eaaece51fd7862 (patch) | |
tree | 1ac5a83657f77ee3a43d885c973c95f1ad3f31d2 /lib/libalpm/dload.c | |
parent | 6760ec2b770e65f2aae9cfd39135cefd49961195 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 5347b9bb..40099b61 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -195,7 +195,7 @@ static int curl_download_internal(const char *url, const char *localpath, curl_easy_setopt(handle->curl, CURLOPT_PROGRESSDATA, (void *)&dlfile); useragent = getenv("HTTP_USER_AGENT"); - if (useragent != NULL) { + if(useragent != NULL) { curl_easy_setopt(handle->curl, CURLOPT_USERAGENT, useragent); } |