[telepathy-gabble/master] Add debug messages for unexpected events in Accept().

Mike Ruprecht mike.ruprecht at collabora.co.uk
Wed Jan 20 14:20:52 PST 2010


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

diff --git a/src/call-channel.c b/src/call-channel.c
index 15f3dca..7505708 100644
--- a/src/call-channel.c
+++ b/src/call-channel.c
@@ -901,6 +901,8 @@ gabble_call_channel_accept (GabbleSvcChannelTypeCall *iface,
         }
       else
         {
+          DEBUG ("Invalid state for Accept: Channel requested and "
+              "state == %d", priv->state);
           goto err;
         }
     }
@@ -911,6 +913,7 @@ gabble_call_channel_accept (GabbleSvcChannelTypeCall *iface,
     }
   else
     {
+      DEBUG ("Invalid state for Accept: state == %d", priv->state);
       goto err;
     }
 
-- 
1.5.6.5



More information about the telepathy-commits mailing list