summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-call-stream.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-02-14 18:20:01 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-02-14 18:20:01 -0500
commit586522417a3952bf9eae09943dbecf8ceefe345b (patch)
tree66c9c49d0f85124473c9b9d9d27c12b860a7a368 /telepathy-glib/base-call-stream.c
parent1acc0c64548f35ca80421fd99f72ba4e047d4caf (diff)
downloadtelepathy-glib-586522417a3952bf9eae09943dbecf8ceefe345b.tar.gz
BaseCallStream: Put the pending states in the right order
Diffstat (limited to 'telepathy-glib/base-call-stream.c')
-rw-r--r--telepathy-glib/base-call-stream.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/telepathy-glib/base-call-stream.c b/telepathy-glib/base-call-stream.c
index ff8df0a54..ee16c59b4 100644
--- a/telepathy-glib/base-call-stream.c
+++ b/telepathy-glib/base-call-stream.c
@@ -754,18 +754,19 @@ tp_base_call_stream_request_receiving (TpSvcCallStream *iface,
goto error;
}
- /* Determine if there is a state change for our receiving side
- * aka remote sending
- */
+
+ /* Determine if there is a state change for our receiving side
+ * aka remote sending
+ */
switch (remote_sending_state)
{
case TP_SENDING_STATE_NONE:
- case TP_SENDING_STATE_PENDING_SEND:
+ case TP_SENDING_STATE_PENDING_STOP_SENDING:
if (!receiving)
goto out;
break;
case TP_SENDING_STATE_SENDING:
- case TP_SENDING_STATE_PENDING_STOP_SENDING:
+ case TP_SENDING_STATE_PENDING_SEND:
if (receiving)
goto out;
break;