diff options
-rw-r--r-- | gisi/pep.c | 4 | ||||
-rw-r--r-- | gisi/verify.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 7958a335..126865c0 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) |