Re: [PATCH 16/30] rpc/: Remove spaces after casts

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

 



On Wed, Apr 25, 2018 at 03:24:53PM +0200, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
src/rpc/virnetclientstream.c  | 4 ++--
src/rpc/virnetserverclient.c  | 2 +-
src/rpc/virnetserverprogram.c | 2 +-
src/rpc/virnetsocket.c        | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/rpc/virnetserverclient.c b/src/rpc/virnetserverclient.c
index b373ca1a8b48..f3bc0a48548f 100644
--- a/src/rpc/virnetserverclient.c
+++ b/src/rpc/virnetserverclient.c
@@ -472,7 +472,7 @@ virNetServerClientPtr virNetServerClientNew(unsigned long long id,
#endif
        );

-    if ((now = time(NULL)) == (time_t) - 1) {
+    if ((now = time(NULL)) == (time_t)- 1) {

Please also remove the space between - and 1.

Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

        virReportSystemError(errno, "%s", _("failed to get current time"));
        return NULL;
    }

Attachment: signature.asc
Description: Digital signature

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

  Powered by Linux