Skip to contentSkip to conversation

emulator: fix notify_ring

PATCH In review Frédéric Danis 2 participants 2 messages Mar 7, 2012 – Mar 8, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 emulator: fix notify_ring

notify_ring should not use information from waiting call

---
 src/emulator.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
src/emulator.c +0 -7
index 262e782..0f1ceca 100644
@@ -421,13 +421,6 @@ static gboolean notify_ring(void *user_data)
 
 	c = find_call_with_status(em, CALL_STATUS_INCOMING);
 
-	/*
-	 * In case of waiting call becoming an incoming call, call status
-	 * change may not have been done yet, so try to find waiting call too
-	 */
-	if (c == NULL)
-		c = find_call_with_status(em, CALL_STATUS_WAITING);
-
 	if (c == NULL)
 		return TRUE;
 
Signature · 1 line
1.7.1
#1 lore raw

Hi Frédéric,

Quoted 5 lines · Frédéric Danis

notify_ring should not use information from waiting call

---
 src/emulator.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

Patch has been applied, thanks.

Regards,
-Denis