[telepathy-gabble/master] Escape from the function on error.
Mike Ruprecht
mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:06 PST 2009
---
src/call-stream-endpoint.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/call-stream-endpoint.c b/src/call-stream-endpoint.c
index 8b0efd6..7bf3b75 100644
--- a/src/call-stream-endpoint.c
+++ b/src/call-stream-endpoint.c
@@ -336,6 +336,7 @@ call_stream_endpoint_set_stream_state (GabbleSvcCallStreamEndpoint *iface,
"Stream state %d is out of the valid range.", state);
dbus_g_method_return_error (context, error);
g_error_free (error);
+ return;
}
self->priv->stream_state = state;
--
1.5.6.5
More information about the telepathy-commits
mailing list