summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llmarketplacefunctions.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp
index bab655199f..5f5abd89e2 100755
--- a/indra/newview/llmarketplacefunctions.cpp
+++ b/indra/newview/llmarketplacefunctions.cpp
@@ -351,7 +351,15 @@ public:
if (!isGoodStatus())
{
- log_SLM_warning("Get /listing", getStatus(), getReason(), "", body);
+ if (getStatus() == 404)
+ {
+ // That listing does not exist -> delete its record from the local SLM data store
+ LLMarketplaceData::instance().deleteListing(mExpectedFolderId, false);
+ }
+ else
+ {
+ log_SLM_warning("Get /listing", getStatus(), getReason(), "", body);
+ }
update_marketplace_category(mExpectedFolderId, false);
gInventory.notifyObservers();
return;