From e08ecc0000058e476a61af2b503ce34580bd63bc Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Tue, 26 Jul 2005 15:09:43 +0000 Subject: Test and fix acknowedge_watch from returning EINVAL. Also ensure that daemon re-xmits event if they ack wrong thing (otherwise confused clients get stuck, as we will send no more data while awaiting ack). Signed-off-by: Rusty Russel Signed-off-by: Christian Limpach --- tools/xenstore/xenstored_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/xenstore/xenstored_core.h') diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h index 2a5a2b02f5..4aae32e95e 100644 --- a/tools/xenstore/xenstored_core.h +++ b/tools/xenstore/xenstored_core.h @@ -64,7 +64,7 @@ struct connection bool can_write; /* Are we waiting for a watch event ack? */ - bool waiting_for_ack; + struct watch *waiting_for_ack; /* Buffered incoming data. */ struct buffered_data *in; -- cgit v1.2.3