projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69453af
)
call-forwarding: Minor code refactoring
author
Oleg Zhurakivskyy
<oleg.zhurakivskyy@intel.com>
Mon, 6 Feb 2012 12:33:59 +0000
(14:33 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 22 Feb 2012 13:05:14 +0000
(07:05 -0600)
src/call-forwarding.c
patch
|
blob
|
history
diff --git
a/src/call-forwarding.c
b/src/call-forwarding.c
index
3c68bc4
..
3ce68a4
100644
(file)
--- a/
src/call-forwarding.c
+++ b/
src/call-forwarding.c
@@
-583,11
+583,12
@@
static void get_query_cf_callback(const struct ofono_error *error, int total,
struct ofono_call_forwarding *cf = data;
if (error->type == OFONO_ERROR_TYPE_NO_ERROR) {
- GSList *l;
- l = cf_cond_list_create(total, list);
+ GSList *l
= cf_cond_list_create(total, list)
;
+
set_new_cond_list(cf, cf->query_next, l);
DBG("%s conditions:", cf_type_lut[cf->query_next]);
+
cf_cond_list_print(l);
if (cf->query_next == CALL_FORWARDING_TYPE_NOT_REACHABLE)