summaryrefslogtreecommitdiff
path: root/telepathy-yell/base-media-call-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-yell/base-media-call-stream.c')
-rw-r--r--telepathy-yell/base-media-call-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-yell/base-media-call-stream.c b/telepathy-yell/base-media-call-stream.c
index fd740b5..f49fff7 100644
--- a/telepathy-yell/base-media-call-stream.c
+++ b/telepathy-yell/base-media-call-stream.c
@@ -437,7 +437,7 @@ tpy_base_media_call_stream_add_candidates (
g_set_error_literal (&error, TP_ERRORS, TP_ERROR_CONFUSED,
"CM failed to implement the compulsory function add_local_candidates");
- if (error != NULL)
+ if (accepted_candidates == NULL)
goto except;
for (i = 0; i < accepted_candidates->len; i++)