diff options
author | Jfreegman <jfreegman@gmail.com> | 2016-09-07 17:48:01 -0400 |
---|---|---|
committer | Jfreegman <jfreegman@gmail.com> | 2016-09-07 17:48:01 -0400 |
commit | 27a162608469b4dacd251b703ca2b9867bd7c0d3 (patch) | |
tree | 2df2b6ba0497e283ad766229cbf0d1fa03a4e5bb /toxav | |
parent | a35be20e6a0d720b2c7f57d45b0f1092497cddb1 (diff) |
Comment intentional switch fallthroughs
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/msi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/msi.c b/toxav/msi.c index 76c727a9..505a7df5 100644 --- a/toxav/msi.c +++ b/toxav/msi.c | |||
@@ -682,7 +682,7 @@ void handle_init (MSICall *call, const MSIMessage *msg) | |||
682 | } | 682 | } |
683 | break; | 683 | break; |
684 | 684 | ||
685 | case msi_CallRequested: | 685 | case msi_CallRequested: // fall-through |
686 | case msi_CallRequesting: { | 686 | case msi_CallRequesting: { |
687 | LOGGER_WARNING(call->session->messenger->log, "Session: %p Invalid state on 'init'"); | 687 | LOGGER_WARNING(call->session->messenger->log, "Session: %p Invalid state on 'init'"); |
688 | call->error = msi_EInvalidState; | 688 | call->error = msi_EInvalidState; |
@@ -738,7 +738,7 @@ void handle_push (MSICall *call, const MSIMessage *msg) | |||
738 | break; | 738 | break; |
739 | 739 | ||
740 | /* Pushes during initialization state are ignored */ | 740 | /* Pushes during initialization state are ignored */ |
741 | case msi_CallInactive: | 741 | case msi_CallInactive: // fall-through |
742 | case msi_CallRequested: { | 742 | case msi_CallRequested: { |
743 | LOGGER_WARNING(call->session->messenger->log, "Ignoring invalid push"); | 743 | LOGGER_WARNING(call->session->messenger->log, "Ignoring invalid push"); |
744 | } | 744 | } |