Fix xs_unwatch() to correctly pass the token

This commit is contained in:
John Levon 2009-01-15 01:23:32 +00:00
parent c8070bf632
commit 406c05f2e7
2 changed files with 6 additions and 1 deletions

View File

@ -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:

View 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 */