aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerassetstorage.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llviewerassetstorage.cpp
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/newview/llviewerassetstorage.cpp')
-rw-r--r--linden/indra/newview/llviewerassetstorage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/llviewerassetstorage.cpp b/linden/indra/newview/llviewerassetstorage.cpp
index d9a5ada..7947700 100644
--- a/linden/indra/newview/llviewerassetstorage.cpp
+++ b/linden/indra/newview/llviewerassetstorage.cpp
@@ -88,7 +88,7 @@ void LLViewerAssetStorage::storeAssetData(
88 delete req; 88 delete req;
89 if (callback) 89 if (callback)
90 { 90 {
91 callback(asset_id, user_data, LL_ERR_ASSET_REQUEST_FAILED); 91 callback(asset_id, user_data, LL_ERR_ASSET_REQUEST_FAILED, LL_EXSTAT_VFS_CORRUPT);
92 } 92 }
93 return; 93 return;
94 } 94 }
@@ -117,7 +117,7 @@ void LLViewerAssetStorage::storeAssetData(
117 llwarns << "Probable corruption in VFS file, aborting store asset data" << llendl; 117 llwarns << "Probable corruption in VFS file, aborting store asset data" << llendl;
118 if (callback) 118 if (callback)
119 { 119 {
120 callback(asset_id, user_data, LL_ERR_ASSET_REQUEST_NONEXISTENT_FILE); 120 callback(asset_id, user_data, LL_ERR_ASSET_REQUEST_NONEXISTENT_FILE, LL_EXSTAT_VFS_CORRUPT);
121 } 121 }
122 return; 122 return;
123 } 123 }
@@ -142,7 +142,7 @@ void LLViewerAssetStorage::storeAssetData(
142 llwarns << "AssetStorage: attempt to upload non-existent vfile " << asset_id << ":" << LLAssetType::lookup(asset_type) << llendl; 142 llwarns << "AssetStorage: attempt to upload non-existent vfile " << asset_id << ":" << LLAssetType::lookup(asset_type) << llendl;
143 if (callback) 143 if (callback)
144 { 144 {
145 callback(asset_id, user_data, LL_ERR_ASSET_REQUEST_NONEXISTENT_FILE); 145 callback(asset_id, user_data, LL_ERR_ASSET_REQUEST_NONEXISTENT_FILE, LL_EXSTAT_NONEXISTENT_FILE);
146 } 146 }
147 } 147 }
148 } 148 }
@@ -151,7 +151,7 @@ void LLViewerAssetStorage::storeAssetData(
151 llwarns << "Attempt to move asset store request upstream w/o valid upstream provider" << llendl; 151 llwarns << "Attempt to move asset store request upstream w/o valid upstream provider" << llendl;
152 if (callback) 152 if (callback)
153 { 153 {
154 callback(asset_id, user_data, LL_ERR_CIRCUIT_GONE); 154 callback(asset_id, user_data, LL_ERR_CIRCUIT_GONE, LL_EXSTAT_NO_UPSTREAM);
155 } 155 }
156 } 156 }
157} 157}
@@ -220,7 +220,7 @@ void LLViewerAssetStorage::storeAssetData(
220 { 220 {
221 if (callback) 221 if (callback)
222 { 222 {
223 callback(asset_id, user_data, LL_ERR_CANNOT_OPEN_FILE); 223 callback(asset_id, user_data, LL_ERR_CANNOT_OPEN_FILE, LL_EXSTAT_BLOCKED_FILE);
224 } 224 }
225 } 225 }
226} 226}