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