[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]