From 60118757b2502f9582a567bcaec6b9f89a7d6650 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 5 Oct 2009 16:20:55 -0500 Subject: [PATCH] Fix: Don't crash when cached ef structure differs --- src/sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim.c b/src/sim.c index b2fbe262..907e4ced 100644 --- a/src/sim.c +++ b/src/sim.c @@ -1474,7 +1474,7 @@ static gboolean sim_op_check_cached(struct ofono_sim *sim) if (error_type != OFONO_ERROR_TYPE_NO_ERROR || structure != op->structure) { ret = TRUE; - cb(0, 0, 0, 0, 0, 0); + cb(0, 0, 0, 0, 0, op->userdata); goto cleanup; }