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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]