summaryrefslogtreecommitdiffstats
path: root/src/ussd.c
diff options
context:
space:
mode:
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);
}