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-09-06 18:15:06 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-09-06 18:15:06 +0000
commit3586596b0f8f5bf1cd4cc5cc24b45f6a80e2e2e8 (patch)
tree905d05abe6727bb5519a7555ea2787a4a798869e /tools/xenstore/xenstored_watch.c
parent1e14a86e33cdc9588e4ea89163138ddeba4e602d (diff)
downloadxen-3586596b0f8f5bf1cd4cc5cc24b45f6a80e2e2e8.tar.gz
xen-3586596b0f8f5bf1cd4cc5cc24b45f6a80e2e2e8.tar.bz2
xen-3586596b0f8f5bf1cd4cc5cc24b45f6a80e2e2e8.zip
Add @releaseDomain watch-event.
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, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xenstored_watch.c b/tools/xenstore/xenstored_watch.c
index 804a386868..ebd13111d5 100644
--- a/tools/xenstore/xenstored_watch.c
+++ b/tools/xenstore/xenstored_watch.c
@@ -132,7 +132,7 @@ void fire_watches(struct connection *conn, const char *node, bool recurse)
struct watch *watch;
/* During transactions, don't fire watches. */
- if (conn->transaction)
+ if (conn && conn->transaction)
return;
/* Create an event for each watch. Don't send to self. */