summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2014-06-21 11:54:26 -0500
committerDenis Kenzior <denkenz@gmail.com>2014-06-21 11:54:26 -0500
commit8edaaaf2100ef951953e3c282f70e56c5e439b70 (patch)
treedc027fbe766c78f28be563ba3f16e38acacd48d5 /gatchat/gatppp.c
parenta88662d23c45f49d9af5a508d4d0a778950b2420 (diff)
downloadofono-8edaaaf2100ef951953e3c282f70e56c5e439b70.tar.bz2
gatchat: Fix up minor coding style issues
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r--gatchat/gatppp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index e3266efc..5144084e 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -231,6 +231,7 @@ static void ppp_receive(const unsigned char *buf, gsize len, void *data)
ppp_pap_process_packet(ppp->pap, packet, len - offset);
else
pppcp_send_protocol_reject(ppp->lcp, buf, len);
+
break;
case CHAP_PROTOCOL:
if (ppp->chap) {
@@ -464,6 +465,7 @@ void ppp_lcp_up_notify(GAtPPP *ppp)
else
/* It'll never work out. */
ppp_auth_notify(ppp, FALSE);
+
return;
}