]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix xs_unwatch() to correctly pass the token
authorJohn Levon <john.levon@sun.com>
Thu, 15 Jan 2009 01:23:32 +0000 (01:23 +0000)
committerJohn Levon <john.levon@sun.com>
Thu, 15 Jan 2009 01:23:32 +0000 (01:23 +0000)
ChangeLog
src/xs_internal.c

index f71e040ed4e6a72fac9747dc5bbe023efba0ab48..bd4a78178b870b31307e4a59cbb7c144c7dfcd66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan 15 01:22:32 GMT 2009  John Levon  <levon@movementarian.org>
+
+       * src/xs_internal.c: Fix xs_unwatch() to correctly pass the
+       token
+
 Thu Jan 15 01:19:02 GMT 2009  John Levon  <levon@movementarian.org>
 
        * src/xen_unified.c:
index 80c30bd1f63007b4bca8a1e0c0d997cb04a16f32..5c7ce2f0cb937b39f7b5fe0ffdb7468338f1bf25 100644 (file)
@@ -1106,7 +1106,7 @@ int xenStoreRemoveWatch(virConnectPtr conn,
 
             if (!xs_unwatch(priv->xshandle,
                        list->watches[i]->path,
-                       list->watches[i]->path))
+                       list->watches[i]->token))
             {
                 DEBUG0("WARNING: Could not remove watch");
                 /* Not fatal, continue */