summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2011-02-02 10:55:24 +0200
committerAki Niemi <aki.niemi@nokia.com>2011-02-02 11:03:21 +0200
commit7d389054acd18d194b55365e8997e366ab4ab0eb (patch)
treed7b124767a33252e75108ea19cb2f623a1bafe55 /src/stk.c
parent0b65fb30b07c0aa0726d0558b7f38bffcc5a38b4 (diff)
downloadofono-7d389054acd18d194b55365e8997e366ab4ab0eb.tar.bz2
stk: Fix style issues
Diffstat (limited to 'src/stk.c')
-rw-r--r--src/stk.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/stk.c b/src/stk.c
index b0be7b82..199e02b1 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -1148,8 +1148,9 @@ static void request_selection_cb(enum stk_agent_result result, uint8_t id,
switch (result) {
case STK_AGENT_RESULT_OK:
{
- static struct ofono_error error =
- { .type = OFONO_ERROR_TYPE_FAILURE };
+ static struct ofono_error error = {
+ .type = OFONO_ERROR_TYPE_FAILURE
+ };
struct stk_response rsp;
memset(&rsp, 0, sizeof(rsp));
@@ -2133,8 +2134,9 @@ static void dtmf_sent_cb(int error, void *user_data)
if (error == ENOENT) {
struct stk_response rsp;
static unsigned char not_in_speech_call_result[] = { 0x07 };
- static struct ofono_error failure =
- { .type = OFONO_ERROR_TYPE_FAILURE };
+ static struct ofono_error failure = {
+ .type = OFONO_ERROR_TYPE_FAILURE
+ };
memset(&rsp, 0, sizeof(rsp));