Re: [PATCH 3/5] Introduce functions for checking whether a pidfile is valid

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

 



On Fri, Aug 12, 2011 at 14:46:35 +0100, Daniel P. Berrange wrote:
> On Fri, Aug 12, 2011 at 02:10:00PM +0200, Jiri Denemark wrote:
...
> > > +    if (virAsprintf(&procpath, "/proc/%d/exe", *pid) < 0) {
> > > +        *pid = -1;
> > > +        return 0;
> > > +    }
> > > +#ifdef __linux__
> > > +    if (virFileLinkPointsTo(procpath, binpath) == 0)
> > > +        *pid = -1;
> > > +#endif
> > > +   VIR_FREE(procpath);
> > 
> > Indentation.
> 
> What's wrong with indentation ??

There are three (not four) spaces in front of VIR_FREE().

Jirka

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