On Wed, Apr 25, 2018 at 03:24:53PM +0200, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
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(a)redhat.com>
Jano
virReportSystemError(errno, "%s", _("failed to
get current time"));
return NULL;
}