diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-01-12 10:30:42 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-12 17:54:37 -0600 |
commit | 9b803223c6d4d91079ef1ab6bdea43db6d982477 (patch) | |
tree | 1219731877876bc386559f81082b45fea719023f /gisi | |
parent | 687c84a1ff3c0d7224d8437fdc7e1935645650bd (diff) | |
download | ofono-9b803223c6d4d91079ef1ab6bdea43db6d982477.tar.gz |
Style: Various issues
Diffstat (limited to 'gisi')
-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) |