[telepathy-gabble/master] Don't fall through on unexpected hold state changes

Will Thompson will.thompson at collabora.co.uk
Wed Jul 29 15:57:55 PDT 2009


---
 src/media-channel-hold.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/media-channel-hold.c b/src/media-channel-hold.c
index 27f8db2..93496aa 100644
--- a/src/media-channel-hold.c
+++ b/src/media-channel-hold.c
@@ -133,6 +133,7 @@ stream_hold_state_changed (GabbleMediaStream *stream G_GNUC_UNUSED,
           DEBUG ("Unexpectedly entered PENDING_HOLD state!");
           priv->hold_state = TP_LOCAL_HOLD_STATE_PENDING_HOLD;
           priv->hold_state_reason = TP_LOCAL_HOLD_STATE_REASON_NONE;
+          break;
 
         default:
           /* nothing particularly interesting - we're trying to change hold
-- 
1.5.6.5




More information about the telepathy-commits mailing list