summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>2011-05-02 17:48:02 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-05-04 21:51:27 -0500
commitffe11200a9cb7c4353f83e0e1c3e79a0186957ae (patch)
treef6e75efeba35665410baafd04a7b66069cfb2b0f
parentdc86e864463a61d3f99a21c948c11ba274c6ef84 (diff)
downloadofono-ffe11200a9cb7c4353f83e0e1c3e79a0186957ae.tar.bz2
voicecall: Fix variable initialization
-rw-r--r--src/voicecall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 3e660049..4564a65c 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -2600,6 +2600,7 @@ static void emulator_generic_cb(const struct ofono_error *error, void *data)
struct ofono_emulator *em = data;
struct ofono_error result;
+ result.error = error->error;
result.type = error->type;
ofono_emulator_send_final(em, &result);