[Spice-devel] [PATCH 07/11] spicec: do not abort if cache error
Marc-André Lureau
marcandre.lureau at gmail.com
Tue Sep 24 04:42:18 PDT 2013
---
client/cache.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/cache.hpp b/client/cache.hpp
index e267f42..7dce671 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;
}
--
1.8.3.1
More information about the Spice-devel
mailing list