View | Details | Raw Unified | Return to bug 272674
Collapse All | Expand All

(-)libpkg/fetch_libcurl.c (-1 / +1 lines)
Lines 442-449 retry: Link Here
442
		pkg_debug(1, "CURL> attempting to fetch from %s, left retry %ld\n",
442
		pkg_debug(1, "CURL> attempting to fetch from %s, left retry %ld\n",
443
				lurl, retry);
443
				lurl, retry);
444
	}
444
	}
445
	curl_easy_setopt(cl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY);
445
	if (userpasswd != NULL) {
446
	if (userpasswd != NULL) {
446
		curl_easy_setopt(cl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY);
447
		curl_easy_setopt(cl, CURLOPT_USERPWD, userpasswd);
447
		curl_easy_setopt(cl, CURLOPT_USERPWD, userpasswd);
448
	}
448
	}
449
	if (http_proxy != NULL)
449
	if (http_proxy != NULL)

Return to bug 272674