| 119 | } |
| 120 | |
| 121 | void HttpServerBrowser::SetPath(const char *ref) |
| 122 | { |
| 123 | if (ref) |
| 124 | { |
| 125 | char *encoded = curl_easy_escape(m_curl, ref, 0); |
| 126 | char *current; |
| 127 | curl_url_get(m_url, CURLUPART_URL, ¤t, 0); |
| 128 | string full = current; |
| 129 | full += encoded; |
| 130 | full += "/"; |
| 131 | curl_url_set(m_url, CURLUPART_URL, full.c_str(), 0); |
| 132 | curl_free(encoded); |
| 133 | curl_free(current); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | vector<HttpServerBrowser::Entry *> *HttpServerBrowser::GoTo(const char *ref, int32_t *result) |
| 138 | { |
nothing calls this directly
no outgoing calls
no test coverage detected