Searched refs:uri_base (Results 1 – 1 of 1) sorted by relevance
77 char *uri_base; member498 oh->uri_base = malloc(len + 1); in efihttp_dev_open_legacy()499 if (oh->uri_base == NULL) { in efihttp_dev_open_legacy()503 strncpy(oh->uri_base, (const char *)uri->Uri, len); in efihttp_dev_open_legacy()504 oh->uri_base[len] = '\0'; in efihttp_dev_open_legacy()505 c = strrchr(oh->uri_base, '/'); in efihttp_dev_open_legacy()508 c = strrchr(oh->uri_base, '/'); in efihttp_dev_open_legacy()630 asprintf(&oh->uri_base, "http://%s:%d", hd->host, hd->port); in efihttp_dev_open_url()632 asprintf(&oh->uri_base, "http://%s", hd->host); in efihttp_dev_open_url()633 if (oh->uri_base == NULL) { in efihttp_dev_open_url()[all …]