[PATCH 07/11] spicec: do not abort if cache error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]