From: Denis Kenzior Date: Tue, 16 Mar 2010 22:34:18 +0000 (-0500) Subject: Style: Use newlines to make the code more readable X-Git-Tag: 0.20~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d081e3910a5ddd1ce7840e8db25ee6d9f0c7a465;p=platform%2Fupstream%2Fofono.git Style: Use newlines to make the code more readable --- diff --git a/gisi/pep.c b/gisi/pep.c index ba98173..45a9125 100644 --- a/gisi/pep.c +++ b/gisi/pep.c @@ -95,6 +95,7 @@ GIsiPEP *g_isi_pep_create(GIsiModem *modem, GIsiPEPCallback cb, void *opaque) pep->opaque = opaque; pep->gprs_fd = -1; pep->handle = 0; + if (listen(fd, 1) || ioctl(fd, SIOCPNGETOBJECT, &pep->handle)) goto error; @@ -106,7 +107,9 @@ GIsiPEP *g_isi_pep_create(GIsiModem *modem, GIsiPEPCallback cb, void *opaque) G_IO_IN|G_IO_ERR|G_IO_HUP|G_IO_NVAL, g_isi_pep_callback, pep); g_io_channel_unref(channel); + return pep; + error: close(fd); g_free(pep);