diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-04-02 13:48:44 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-04-02 13:48:44 -0700 |
commit | ffa99a1ebbe4b02a06e711a4d1817b35a89feb22 (patch) | |
tree | d79b8801a08614b726c6f30f365f47c8589169bc | |
parent | 349d4d8c5deeb3927426e1993ec9e5f394cc3b67 (diff) | |
download | ofono-ffa99a1ebbe4b02a06e711a4d1817b35a89feb22.tar.bz2 |
Also the default case should have a break statement
-rw-r--r-- | gatchat/gatppp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 67aa3d95..6c846025 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -198,9 +198,10 @@ static void ppp_recv(GAtPPP *ppp, struct frame_buffer *frame) ppp->auth->process_packet(ppp->auth, packet); break; } - /* Otherwise fall through */ + /* fall through */ default: lcp_protocol_reject(ppp->lcp, frame->bytes, frame->len); + break; }; g_free(frame); |