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 4f4cbf6..d4bfe8f 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs | |||
@@ -168,7 +168,10 @@ namespace OpenSim.Services.AssetService | |||
168 | { | 168 | { |
169 | // m_log.DebugFormat( | 169 | // m_log.DebugFormat( |
170 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); | 170 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); |
171 | m_Database.StoreAsset(asset); | 171 | if (!m_Database.StoreAsset(asset)) |
172 | { | ||
173 | return UUID.Zero.ToString(); | ||
174 | } | ||
172 | } | 175 | } |
173 | // else | 176 | // else |
174 | // { | 177 | // { |