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:
2a2fd1d
)
sim: tweak efimg length
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 31 Aug 2010 23:01:23 +0000
(18:01 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 1 Sep 2010 17:06:56 +0000
(12:06 -0500)
src/sim.c
patch
|
blob
|
history
diff --git
a/src/sim.c
b/src/sim.c
index
ff559a9
..
12515e6
100644
(file)
--- a/
src/sim.c
+++ b/
src/sim.c
@@
-89,7
+89,7
@@
struct ofono_sim {
unsigned char *efli;
unsigned char efli_length;
unsigned char *efimg;
-
in
t efimg_length;
+
unsigned shor
t 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;
}
}