From: Denis Kenzior Date: Tue, 12 Jan 2010 16:30:42 +0000 (-0600) Subject: Style: Various issues X-Git-Tag: 0.16~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b803223c6d4d91079ef1ab6bdea43db6d982477;p=platform%2Fupstream%2Fofono.git Style: Various issues --- 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)