Lines Matching refs:url
665 * Get authentication data for a URL from .netrc
668 _fetch_netrc_auth(struct url *url)
702 strcasecmp(word, url->host) == 0) {
713 if (snprintf(url->user, sizeof(url->user),
714 "%s", word) > (int)sizeof(url->user)) {
716 url->user[0] = '\0';
721 if (snprintf(url->pwd, sizeof(url->pwd),
722 "%s", word) > (int)sizeof(url->pwd)) {
724 url->pwd[0] = '\0';