summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-23 21:57:11 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-30 02:19:51 +0200
commitc3d6f0e1df482f207d0c061465361853c444aad8 (patch)
treeb6c9374cedb7ecf8fdeaee7ae53242dd5c27e44e /client
parente67caa8516ad040351476076272385d8db81880a (diff)
downloadspice-c3d6f0e1df482f207d0c061465361853c444aad8.tar.gz
spice-c3d6f0e1df482f207d0c061465361853c444aad8.tar.xz
spice-c3d6f0e1df482f207d0c061465361853c444aad8.zip
spicec: do not abort if cache error
Diffstat (limited to 'client')
-rw-r--r--client/cache.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/cache.hpp b/client/cache.hpp
index e267f427..7dce6715 100644
--- a/client/cache.hpp
+++ b/client/cache.hpp
@@ -45,7 +45,8 @@ public:
while (*item) {
if ((*item)->id == id) {
- THROW("%s id %" PRIu64 ", double insert", Treat::name(), id);
+ spice_printerr("%s id %" PRIu64 ", double insert", Treat::name(), id);
+ return;
}
item = &(*item)->next;
}