[libvirt] [PATCH 2/4] Try harder to send RPC error message back to client

Daniel P. Berrange berrange at redhat.com
Tue Aug 17 15:37:13 UTC 2010


On Tue, Aug 17, 2010 at 09:31:30AM -0600, Eric Blake wrote:
> On 08/17/2010 09:16 AM, Daniel P. Berrange wrote:
> > @@ -558,22 +559,30 @@ remoteDispatchClientCall (struct qemud_server *server,
> >                     msg->bufferLength,
> >                     XDR_ENCODE);
> >  
> > -    if (xdr_setpos(&xdr, msg->bufferOffset) == 0)
> > -        goto xdr_error;
> > +    if (xdr_setpos(&xdr, msg->bufferOffset) == 0) {
> > +        remoteDispatchFormatError(&rerr, "%s", _("failed to change XDR reply offset"));
> > +	goto xdr_error;
> 
> Why the swap to a TAB?

Oh, I was writing this on a QA machine where I don't have my usual GIT/emacs
config setup

Daniel

-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list