diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2009-10-17 00:45:15 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-16 17:46:28 -0500 |
commit | 15c07346dfed5d6de963e5ada08f5ed00614e6a7 (patch) | |
tree | 8dd3adc6d5c665e3b67829d012beda0b81727ec2 /src/ussd.c | |
parent | feda620c94a9e3c0951ddc74994e5c6f2f22ee07 (diff) | |
download | ofono-15c07346dfed5d6de963e5ada08f5ed00614e6a7.tar.bz2 |
Parse +CUSD responses.
Diffstat (limited to 'src/ussd.c')
-rw-r--r-- | src/ussd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -313,6 +313,9 @@ void ofono_ussd_notify(struct ofono_ussd *ussd, int status, const char *str) reply = dbus_message_new_method_return(ussd->pending); + if (!str) + str = ""; + dbus_message_iter_init_append(reply, &iter); dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, |