aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_watch.c
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-07-26 15:24:28 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-07-26 15:24:28 +0000
commitdfc7e02e7ab3715f098e8a6c4105016b0862c5df (patch)
tree59c750da6e7037df5eb06171a3fa7006dd381aae /tools/xenstore/xenstored_watch.c
parentdf569ddb1c12693b96a2abfc518860ff344448b5 (diff)
downloadxen-dfc7e02e7ab3715f098e8a6c4105016b0862c5df.tar.gz
xen-dfc7e02e7ab3715f098e8a6c4105016b0862c5df.tar.bz2
xen-dfc7e02e7ab3715f098e8a6c4105016b0862c5df.zip
Fix bug where transaction fires multiple events.
Add general trace() call to help future debugging. Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore/xenstored_watch.c')
-rw-r--r--tools/xenstore/xenstored_watch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/xenstore/xenstored_watch.c b/tools/xenstore/xenstored_watch.c
index c532da26a8..a49dcbc954 100644
--- a/tools/xenstore/xenstored_watch.c
+++ b/tools/xenstore/xenstored_watch.c
@@ -134,8 +134,6 @@ bool fire_watches(struct connection *conn, const char *node, bool recurse)
if (conn->transaction)
return false;
- assert(conn->state == OK);
-
/* Create an event for each watch. Don't send to self. */
list_for_each_entry(i, &connections, list) {
if (i == conn)