summaryrefslogtreecommitdiff
path: root/indra/newview/llaisapi.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-08-28 10:05:15 -0700
committerRider Linden <rider@lindenlab.com>2015-08-28 10:05:15 -0700
commit02c3262ac8e7f27b0effb546ad235e103c9581cf (patch)
tree0c432abf7c57e55e11d3f480ad17ceccce89ed89 /indra/newview/llaisapi.cpp
parentac3af19539e0f3a4d8557cc68f19781893de2fc3 (diff)
MAINT-5574: Added default parameter for callbalk on AISAPI interface.
Better check on callback exsit in coroutine Don't create AISAPI::completion_t if there is no call back passed.
Diffstat (limited to 'indra/newview/llaisapi.cpp')
-rwxr-xr-xindra/newview/llaisapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index 5d2c48a1b4..da2f69126a 100755
--- a/indra/newview/llaisapi.cpp
+++ b/indra/newview/llaisapi.cpp
@@ -400,7 +400,7 @@ void AISAPI::InvokeAISCommandCoro(LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t ht
gInventory.onAISUpdateReceived("AISCommand", result);
- if (callback)
+ if (callback && !callback.empty())
{
LLUUID id(LLUUID::null);