prevent errors being printed to stderr when opening saves
adding a hack onto a hack
This commit is contained in:
parent
926f556bcc
commit
be170fe73d
@ -37,7 +37,7 @@ RequestBroker::ProcessResponse WebRequest::Process(RequestBroker & rb)
|
|||||||
int status, data_size;
|
int status, data_size;
|
||||||
data = http_async_req_stop(HTTPContext, &status, &data_size);
|
data = http_async_req_stop(HTTPContext, &status, &data_size);
|
||||||
|
|
||||||
Client::Ref().ParseServerReturn(data, status, true);
|
Client::Ref().ParseServerReturn(NULL, status, true);
|
||||||
if (status == 200 && data)
|
if (status == 200 && data)
|
||||||
{
|
{
|
||||||
void * resultObject = new std::vector<unsigned char>(data, data+data_size);
|
void * resultObject = new std::vector<unsigned char>(data, data+data_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user