diff options
Diffstat (limited to 'OpenSim/Services/AssetService/AssetService.cs')
-rw-r--r-- | OpenSim/Services/AssetService/AssetService.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Services/AssetService/AssetService.cs b/OpenSim/Services/AssetService/AssetService.cs index 137a9b0..1427e84 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs | |||
@@ -173,7 +173,10 @@ namespace OpenSim.Services.AssetService | |||
173 | { | 173 | { |
174 | // m_log.DebugFormat( | 174 | // m_log.DebugFormat( |
175 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); | 175 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); |
176 | m_Database.StoreAsset(asset); | 176 | if (!m_Database.StoreAsset(asset)) |
177 | { | ||
178 | return UUID.Zero.ToString(); | ||
179 | } | ||
177 | } | 180 | } |
178 | // else | 181 | // else |
179 | // { | 182 | // { |