| 91 | } |
| 92 | |
| 93 | string HttpServerBrowser::GetPath() |
| 94 | { |
| 95 | string ret; |
| 96 | char *path; |
| 97 | curl_url_get(m_url, CURLUPART_URL, &path, 0); |
| 98 | if (path) |
| 99 | { |
| 100 | char *decoded = curl_easy_unescape(m_curl, path, 0, NULL); |
| 101 | ret = decoded; |
| 102 | curl_free(decoded); |
| 103 | curl_free(path); |
| 104 | } |
| 105 | |
| 106 | return ret; |
| 107 | } |
| 108 | |
| 109 | void HttpServerBrowser::GetInfoForPlayer(string const& in, string& url, GenericPlayer::Option **opt) |
| 110 | { |
nothing calls this directly
no outgoing calls
no test coverage detected