diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-12-17 21:31:35 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-12-17 21:45:39 -0600 |
commit | 955e6a61ee5a4c461b361f04b452eda3d119fffa (patch) | |
tree | 82fb411805eea7052259ff81037db6baec4e4b56 /src/ussd.c | |
parent | 7ffd9cb8e890d69a606506adb86e0828ad09d253 (diff) | |
download | ofono-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |