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::state_type new_parent_state = 0)
{
if (responder)
{
// For possible debug output from within the responder.
responder->setURL(url);
llassert(responder);
if (!responder) {
responder = new LLHTTPClient::ResponderIgnore;
}
// For possible debug output from within the responder.
responder->setURL(url);
LLURLRequest* req;
try

View File

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