mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-16 14:25:19 -05:00
Deindent HTTPFetchRequest::HTTPFetchRequest()
This commit is contained in:
parent
64c0e40605
commit
b11b48ec07
@ -42,8 +42,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
JMutex g_httpfetch_mutex;
|
JMutex g_httpfetch_mutex;
|
||||||
std::map<unsigned long, std::list<HTTPFetchResult> > g_httpfetch_results;
|
std::map<unsigned long, std::list<HTTPFetchResult> > g_httpfetch_results;
|
||||||
|
|
||||||
HTTPFetchRequest::HTTPFetchRequest()
|
HTTPFetchRequest::HTTPFetchRequest()
|
||||||
{
|
{
|
||||||
url = "";
|
url = "";
|
||||||
caller = HTTPFETCH_DISCARD;
|
caller = HTTPFETCH_DISCARD;
|
||||||
request_id = 0;
|
request_id = 0;
|
||||||
@ -59,7 +59,7 @@ std::map<unsigned long, std::list<HTTPFetchResult> > g_httpfetch_results;
|
|||||||
useragent += std::string("(") + osinfo.sysname + "/"
|
useragent += std::string("(") + osinfo.sysname + "/"
|
||||||
+ osinfo.release + " " + osinfo.machine + ")";
|
+ osinfo.release + " " + osinfo.machine + ")";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void httpfetch_deliver_result(const HTTPFetchResult &fetchresult)
|
static void httpfetch_deliver_result(const HTTPFetchResult &fetchresult)
|
||||||
|
Loading…
Reference in New Issue
Block a user