diff options
author | Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> | 2012-02-06 14:33:59 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-02-22 07:05:14 -0600 |
commit | a5372acb1a8031f83dd7a9ee8b0f8d0f2ca9f3fe (patch) | |
tree | 6c88a827315acdc52378fc50345fae83202c398d /src/call-forwarding.c | |
parent | 69453afe9eeb2eba2024cd1792d25b5da61a439f (diff) | |
download | ofono-a5372acb1a8031f83dd7a9ee8b0f8d0f2ca9f3fe.tar.bz2 |
call-forwarding: Minor code refactoring
Diffstat (limited to 'src/call-forwarding.c')
-rw-r--r-- | src/call-forwarding.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c index 3c68bc45..3ce68a4a 100644 --- 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) |