diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-04-09 15:59:54 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-04-09 15:59:54 +0100 |
commit | 3d405489212d4f87bc382112dda1228f83db2453 (patch) | |
tree | de885e8bab600c00fb7208b08ecb4a5ca6334c77 /tools/xenstore/xenstored_watch.c | |
parent | b8c7fc6368d0ad8bddb3bb524a0d3be3c70ea4eb (diff) | |
download | xen-3d405489212d4f87bc382112dda1228f83db2453.tar.gz xen-3d405489212d4f87bc382112dda1228f83db2453.tar.bz2 xen-3d405489212d4f87bc382112dda1228f83db2453.zip |
xenstore: fix canonicalize for metanodes
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'tools/xenstore/xenstored_watch.c')
-rw-r--r-- | tools/xenstore/xenstored_watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xenstored_watch.c b/tools/xenstore/xenstored_watch.c index 8e3e4f2b61..16d30899d4 100644 --- a/tools/xenstore/xenstored_watch.c +++ b/tools/xenstore/xenstored_watch.c @@ -183,7 +183,7 @@ void do_unwatch(struct connection *conn, struct buffered_data *in) return; } - node = strstarts(vec[0], "@") ? vec[0] : canonicalize(conn, vec[0]); + node = canonicalize(conn, vec[0]); list_for_each_entry(watch, &conn->watches, list) { if (streq(watch->node, node) && streq(watch->token, vec[1])) { list_del(&watch->list); |