[gamin] Revert this patch



Yo,

This patch should be reverted. It was detecting a real bug.

John McCutchan
Index: server/gam_node.c
===================================================================
RCS file: /cvs/gnome/gamin/server/gam_node.c,v
retrieving revision 1.12
diff -u -r1.12 gam_node.c
--- server/gam_node.c   13 Jun 2005 14:58:07 -0000      1.12
+++ server/gam_node.c   12 Jul 2005 17:47:50 -0000
@@ -189,7 +189,9 @@
 gam_node_remove_subscription(GamNode * node, GamSubscription * sub)
 {
     g_assert(node);
-    g_assert(g_list_find(node->subs, sub));
+
+    if (!g_list_find (node->subs, sub))
+           return TRUE;
 
     node->subs = g_list_remove_all(node->subs, sub);


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