diff options
-rw-r--r-- | src/call-forwarding.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c index 512f2238..d300c699 100644 --- a/src/call-forwarding.c +++ b/src/call-forwarding.c @@ -1337,9 +1337,8 @@ static void sim_cphs_cff_read_cb(int ok, int total_length, int record, const char *path = __ofono_atom_get_path(cf->atom); dbus_bool_t cfu_voice; - if (!ok || total_length < 1) { + if (!ok || total_length < 1) return; - } cf->flags |= CALL_FORWARDING_FLAG_CPHS_CFF; |