From 9b803223c6d4d91079ef1ab6bdea43db6d982477 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 12 Jan 2010 10:30:42 -0600 Subject: [PATCH] Style: Various issues --- gisi/pep.c | 4 ++-- gisi/verify.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gisi/pep.c b/gisi/pep.c index 860688b..5495401 100644 --- a/gisi/pep.c +++ b/gisi/pep.c @@ -128,9 +128,9 @@ void g_isi_pep_destroy(GIsiPEP *pep) unsigned g_isi_pep_get_ifindex(const GIsiPEP *pep) { unsigned ifi; - socklen_t len = sizeof (ifi); + socklen_t len = sizeof(ifi); - g_assert (pep->gprs_fd != -1); + g_assert(pep->gprs_fd != -1); getsockopt(pep->gprs_fd, SOL_PNPIPE, PNPIPE_IFINDEX, &ifi, &len); return ifi; diff --git a/gisi/verify.c b/gisi/verify.c index 7958a33..126865c 100644 --- a/gisi/verify.c +++ b/gisi/verify.c @@ -54,7 +54,7 @@ static bool verify_cb(GIsiClient *client, const void *restrict data, bool alive = false; - if(!msg) + if (!msg) goto out; if (len < 2 || msg[0] != COMMON_MESSAGE) -- 2.7.4