projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a3905
)
ussd: send NotRecognized error for invalid USSD
author
Denis Kenzior
<denkenz@gmail.com>
Mon, 18 Jun 2012 14:23:20 +0000
(09:23 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 18 Jun 2012 14:23:20 +0000
(09:23 -0500)
src/ussd.c
patch
|
blob
|
history
diff --git
a/src/ussd.c
b/src/ussd.c
index
29cf1b4
..
74888b2
100644
(file)
--- a/
src/ussd.c
+++ b/
src/ussd.c
@@
-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);