diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-08-31 18:01:23 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-01 12:06:56 -0500 |
commit | 0cf73b73eb379711612c8dec6151f91dc92c0211 (patch) | |
tree | d134d2b179c866dcf4f0fba79c07e8f6ebb78c42 | |
parent | 2a2fd1d03607bce62cec7c266fa82c56e76ac36f (diff) | |
download | ofono-0cf73b73eb379711612c8dec6151f91dc92c0211.tar.bz2 |
sim: tweak efimg length
-rw-r--r-- | src/sim.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -89,7 +89,7 @@ struct ofono_sim { unsigned char *efli; unsigned char efli_length; unsigned char *efimg; - int efimg_length; + unsigned short efimg_length; enum ofono_sim_cphs_phase cphs_phase; unsigned char cphs_service_table[2]; struct ofono_watchlist *state_watches; @@ -2085,6 +2085,7 @@ static void sim_free_state(struct ofono_sim *sim) if (sim->efimg) { g_free(sim->efimg); sim->efimg = NULL; + sim->efimg_length = 0; } } |