Re: [libvirt] [PATCH] Fix emission of domain events messages

2009-09-30 Thread Daniel Veillard
On Wed, Sep 30, 2009 at 03:09:29PM +0100, Daniel P. Berrange wrote: > On Wed, Sep 30, 2009 at 03:51:21PM +0200, Daniel Veillard wrote: > > On Wed, Sep 30, 2009 at 02:34:46PM +0100, Daniel P. Berrange wrote: > > > The code which updated the message length after writing the > > > payload wrote the up

Re: [libvirt] [PATCH] Fix emission of domain events messages

2009-09-30 Thread Daniel P. Berrange
On Wed, Sep 30, 2009 at 03:51:21PM +0200, Daniel Veillard wrote: > On Wed, Sep 30, 2009 at 02:34:46PM +0100, Daniel P. Berrange wrote: > > The code which updated the message length after writing the > > payload wrote the updated length word in the wrong place since > > the XDR object was given a bu

Re: [libvirt] [PATCH] Fix emission of domain events messages

2009-09-30 Thread Daniel Veillard
On Wed, Sep 30, 2009 at 02:34:46PM +0100, Daniel P. Berrange wrote: > The code which updated the message length after writing the > payload wrote the updated length word in the wrong place since > the XDR object was given a buffer pointing to the start of the > header payload, rather than message s

[libvirt] [PATCH] Fix emission of domain events messages

2009-09-30 Thread Daniel P. Berrange
The code which updated the message length after writing the payload wrote the updated length word in the wrong place since the XDR object was given a buffer pointing to the start of the header payload, rather than message start. * daemon/remote.c: Fix updating of event message length so that we