diff options
Diffstat (limited to '')
-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 08fd3f8..90c30c8 100644 --- a/OpenSim/Services/AssetService/AssetService.cs +++ b/OpenSim/Services/AssetService/AssetService.cs | |||
@@ -159,7 +159,10 @@ namespace OpenSim.Services.AssetService | |||
159 | { | 159 | { |
160 | // m_log.DebugFormat( | 160 | // m_log.DebugFormat( |
161 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); | 161 | // "[ASSET SERVICE]: Storing asset {0} {1}, bytes {2}", asset.Name, asset.FullID, asset.Data.Length); |
162 | m_Database.StoreAsset(asset); | 162 | if (!m_Database.StoreAsset(asset)) |
163 | { | ||
164 | return UUID.Zero.ToString(); | ||
165 | } | ||
163 | } | 166 | } |
164 | // else | 167 | // else |
165 | // { | 168 | // { |