Self,

2011/1/19 Aki Niemi <aki.ni...@nokia.com>:
> @@ -2095,11 +2095,11 @@ static void ecc_g2_read_cb(int ok, int total_length, 
> int record,
>        DBG("%d", ok);
>
>        if (!ok)
> -               return;
> +               goto check;
>
>        if (total_length < 3) {
>                ofono_error("Unable to read emergency numbers from SIM");
> -               return;
> +               goto check;

Obviously, only one of the callbacks needs this fall-through logic in
case the read fails. Not both.

Cheers,
Aki
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to