summaryrefslogtreecommitdiffstats
path: root/src/ussd.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-12-17 21:31:35 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-17 21:45:39 -0600
commit955e6a61ee5a4c461b361f04b452eda3d119fffa (patch)
tree82fb411805eea7052259ff81037db6baec4e4b56 /src/ussd.c
parent7ffd9cb8e890d69a606506adb86e0828ad09d253 (diff)
downloadofono-955e6a61ee5a4c461b361f04b452eda3d119fffa.tar.bz2
Style: Fix a few more occurences of if/else
See Linux coding style document for details
Diffstat (limited to 'src/ussd.c')
-rw-r--r--src/ussd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ussd.c b/src/ussd.c
index 2bf378df..7b5fc98b 100644
--- a/src/ussd.c
+++ b/src/ussd.c
@@ -430,8 +430,9 @@ static void ussd_cancel_callback(const struct ofono_error *error, void *data)
ussd->state = USSD_STATE_IDLE;
reply = dbus_message_new_method_return(ussd->pending);
- } else
+ } else {
reply = __ofono_error_failed(ussd->pending);
+ }
__ofono_dbus_pending_reply(&ussd->pending, reply);
}