diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-06-18 09:23:20 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-06-18 09:23:20 -0500 |
commit | 4d49f5cd34131b6fe440d4c6d29276e50678d66a (patch) | |
tree | 4e73517dd2e7768bf28ceab5998642ae486b2d0c /src/ussd.c | |
parent | 61a3905195c813fbff2742d8114d94951726bcd7 (diff) | |
download | ofono-4d49f5cd34131b6fe440d4c6d29276e50678d66a.tar.bz2 |
ussd: send NotRecognized error for invalid USSD
Diffstat (limited to 'src/ussd.c')
-rw-r--r-- | src/ussd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -573,7 +573,7 @@ static DBusMessage *ussd_initiate(DBusConnection *conn, DBusMessage *msg, DBG("No.., checking if this is a USSD string"); if (!valid_ussd_string(str, call_in_progress)) - return __ofono_error_invalid_format(msg); + return __ofono_error_not_recognized(msg); if (!ussd_encode(str, &num_packed, buf)) return __ofono_error_invalid_format(msg); |