prevent errors being printed to stderr when opening saves

adding a hack onto a hack
This commit is contained in:
jacob1 2016-02-13 16:23:57 -05:00
parent 926f556bcc
commit be170fe73d

View File

@ -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);