From: Denis Kenzior Date: Tue, 16 Mar 2010 22:33:50 +0000 (-0500) Subject: Style: Always use tab for indentation X-Git-Tag: 0.20~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db7e48d0468835575f4f4ebee1ebe9a1d70133df;p=platform%2Fupstream%2Fofono.git Style: Always use tab for indentation --- diff --git a/gisi/pep.c b/gisi/pep.c index 5495401..ba98173 100644 --- a/gisi/pep.c +++ b/gisi/pep.c @@ -85,8 +85,10 @@ GIsiPEP *g_isi_pep_create(GIsiModem *modem, GIsiPEPCallback cb, void *opaque) fcntl(fd, F_SETFD, FD_CLOEXEC); fcntl(fd, F_SETFL, O_NONBLOCK|fcntl(fd, F_GETFL)); - if (if_indextoname(ifi, buf) == NULL || - setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, buf, IF_NAMESIZE)) + if (if_indextoname(ifi, buf) == NULL) + goto error; + + if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, buf, IF_NAMESIZE) != 0) goto error; pep->ready = cb;