This should fix voice decline crash

This commit is contained in:
Siana Gearz
2013-02-03 21:56:13 +01:00
parent 57d43786ab
commit 6a774e4685
2 changed files with 7 additions and 5 deletions

View File

@@ -208,11 +208,13 @@ static void request(
AIStateMachine* parent = NULL, AIStateMachine* parent = NULL,
AIStateMachine::state_type new_parent_state = 0) AIStateMachine::state_type new_parent_state = 0)
{ {
if (responder) llassert(responder);
{
// For possible debug output from within the responder. if (!responder) {
responder->setURL(url); responder = new LLHTTPClient::ResponderIgnore;
} }
// For possible debug output from within the responder.
responder->setURL(url);
LLURLRequest* req; LLURLRequest* req;
try try

View File

@@ -351,7 +351,7 @@ bool inviteUserResponse(const LLSD& notification, const LLSD& response)
LLHTTPClient::post( LLHTTPClient::post(
url, url,
data, data,
NULL); new LLHTTPClient::ResponderIgnore);
} }
} }