[telepathy-gabble/master] Add the erroneously passed state to the debug message.

Mike Ruprecht mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:06 PST 2009


---
 src/call-stream-endpoint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/call-stream-endpoint.c b/src/call-stream-endpoint.c
index 24cc84b..8b0efd6 100644
--- a/src/call-stream-endpoint.c
+++ b/src/call-stream-endpoint.c
@@ -333,7 +333,7 @@ call_stream_endpoint_set_stream_state (GabbleSvcCallStreamEndpoint *iface,
   if (state >= NUM_TP_MEDIA_STREAM_STATES)
     {
       GError *error = g_error_new (TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
-          "Stream state is out of the valid range.");
+          "Stream state %d is out of the valid range.", state);
       dbus_g_method_return_error (context, error);
       g_error_free (error);
     }
-- 
1.5.6.5




More information about the telepathy-commits mailing list