summaryrefslogtreecommitdiff
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorPhilippe De Swert <philippedeswert@gmail.com>2017-12-06 17:36:01 +0200
committerDenis Kenzior <denkenz@gmail.com>2017-12-08 08:26:35 -0600
commit5c0ec25353a70f483d6439238b0d3b0a638b4789 (patch)
treeba1c086acfb60d1fd1b5fbb6819b22a827175295 /src/voicecall.c
parent070608b8991b0255765ca78d13c0829332a2ae63 (diff)
downloadofono-5c0ec25353a70f483d6439238b0d3b0a638b4789.tar.gz
voicecall: Fix issue with invalid dbus path
Fix an error message from dbus about the path supplied not being valid. Related to commit f58e7685b0078df470300b99cd89fb9b3c45d1c0 ofonod[19107]: src/voicecall.c:voicecall_dial_shortcut() check position ofonod[19107]: src/voicecall.c:synthesize_outgoing_call() Registering new call: 1 process 19107: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_path (*string_p)" failed in file ../../../dbus/dbus-message.c line 2759. This is normally a bug in some application using the D-Bus library.
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index cd9182a1..4c2f71f8 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1592,6 +1592,7 @@ static void manager_dial_last_callback(const struct ofono_error *error,
if (!v)
goto error;
+ path = voicecall_build_path(vc, v->call);
reply = dbus_message_new_method_return(vc->pending);
dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH, &path,
DBUS_TYPE_INVALID);