voicecall: Fix variable initialization
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Mon, 2 May 2011 15:48:02 +0000 (17:48 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 5 May 2011 02:51:27 +0000 (21:51 -0500)
src/voicecall.c

index 3e66004..4564a65 100644 (file)
@@ -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);