mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Revert "refactor: use OutputIterator for url-escaped info hash strings (#3672)"
This reverts commit 479a16787e.
This commit is contained in:
@@ -111,11 +111,7 @@ void tr_http_escape(OutputIt out, std::string_view in, bool escape_reserved)
|
||||
}
|
||||
}
|
||||
|
||||
template<typename OutputIt>
|
||||
void tr_http_escape(OutputIt out, tr_sha1_digest_t const& digest)
|
||||
{
|
||||
tr_http_escape(out, std::string_view{ reinterpret_cast<char const*>(digest.data()), std::size(digest) }, false);
|
||||
}
|
||||
void tr_http_escape_sha1(char* out, tr_sha1_digest_t const& digest);
|
||||
|
||||
char const* tr_webGetResponseStr(long response_code);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user