projects
/
profile
/
ivi
/
lemolo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041215f
)
rc: simplify handling of _rc_call_removed_cb.
author
Gustavo Sverzut Barbieri
<barbieri@profusion.mobi>
Thu, 6 Sep 2012 00:45:52 +0000
(21:45 -0300)
committer
Gustavo Sverzut Barbieri
<barbieri@profusion.mobi>
Thu, 6 Sep 2012 00:45:52 +0000
(21:45 -0300)
dialer/rc.c
patch
|
blob
|
history
diff --git
a/dialer/rc.c
b/dialer/rc.c
index
4a50dd5
..
c890503
100644
(file)
--- a/
dialer/rc.c
+++ b/
dialer/rc.c
@@
-328,11
+328,10
@@
static void _rc_call_added_cb(void *data __UNUSED__, OFono_Call *call)
static void _rc_call_removed_cb(void *data __UNUSED__, OFono_Call *call)
{
-
- if (waiting == call) {
- _removed_signal_send();
- waiting = NULL;
- }
+ if (waiting != call)
+ return;
+ _removed_signal_send();
+ waiting = NULL;
}
Eina_Bool rc_init(const char *service)