diff options
Diffstat (limited to 'OpenSim/Services/AssetService')
-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 b3af8e3..ec424c0 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs | |||
@@ -186,7 +186,10 @@ namespace OpenSim.Services.AssetService | |||
186 | { | 186 | { |
187 | // m_log.DebugFormat( | 187 | // m_log.DebugFormat( |
188 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); | 188 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); |
189 | m_Database.StoreAsset(asset); | 189 | if (!m_Database.StoreAsset(asset)) |
190 | { | ||
191 | return UUID.Zero.ToString(); | ||
192 | } | ||
190 | } | 193 | } |
191 | // else | 194 | // else |
192 | // { | 195 | // { |