Re: [PATCH RFC 1/8] fdstream: Realign

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

 



On Fri, Jan 29, 2016 at 02:26:52PM +0100, Michal Privoznik wrote:
> Some lines in this file are misaligned which fires up my OCD.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/fdstream.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/fdstream.c b/src/fdstream.c
> index b8ea86e..a85cf9d 100644
> --- a/src/fdstream.c
> +++ b/src/fdstream.c
> @@ -215,10 +215,10 @@ virFDStreamAddCallback(virStreamPtr st,
>      }
>  
>      if ((fdst->watch = virEventAddHandle(fdst->fd,
> -                                           events,
> -                                           virFDStreamEvent,
> -                                           st,
> -                                           virFDStreamCallbackFree)) < 0) {
> +                                         events,
> +                                         virFDStreamEvent,
> +                                         st,
> +                                         virFDStreamCallbackFree)) < 0) {
>          virReportError(VIR_ERR_INTERNAL_ERROR,
>                         "%s", _("cannot register file watch on stream"));
>          goto cleanup;
> @@ -624,7 +624,7 @@ virFDStreamOpenFileInternal(virStreamPtr st,
>       */
>      if ((st->flags & VIR_STREAM_NONBLOCK) &&
>          ((!S_ISCHR(sb.st_mode) &&
> -         !S_ISFIFO(sb.st_mode)) || forceIOHelper)) {
> +          !S_ISFIFO(sb.st_mode)) || forceIOHelper)) {
>          int fds[2] = { -1, -1 };
>  
>          if ((oflags & O_ACCMODE) == O_RDWR) {

ACK, just push this one now regardless.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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