static void tr_webThreadFunc(void* vsession);
static struct tr_web_task* tr_webRunImpl(tr_session* session, int torrentId, char const* url, char const* range,
- char const* cookies, tr_web_done_func done_func, void* done_func_user_data, struct evbuffer* buffer)
+ char const* cookies, tr_web_done_func done_func, void* done_func_user_data,
+ struct evbuffer* buffer)
{
struct tr_web_task* task = NULL;
static bool is_rfc2396_alnum(uint8_t ch)
{
return ('0' <= ch && ch <= '9') || ('A' <= ch && ch <= 'Z') || ('a' <= ch && ch <= 'z') || ch == '.' || ch == '-' ||
- ch == '_' || ch == '~';
+ ch == '_' || ch == '~';
}
void tr_http_escape_sha1(char* out, uint8_t const* sha1_digest)