Style: Various issues
authorDenis Kenzior <denkenz@gmail.com>
Tue, 12 Jan 2010 16:30:42 +0000 (10:30 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 12 Jan 2010 23:54:37 +0000 (17:54 -0600)
gisi/pep.c
gisi/verify.c

index 860688b..5495401 100644 (file)
@@ -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;
index 7958a33..126865c 100644 (file)
@@ -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)