Avoid error when URL is null
PATCH 1/1 Avoid error when URL is null
Avoid error with STK command "LAUNCH BROWSER" and default URL
--- src/stkagent.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
src/stkagent.c +3 -0
@@ -1061,6 +1061,9 @@ int stk_agent_confirm_launch_browser(struct stk_agent *agent, const char *text,if (agent->msg ==NULL )return -ENOMEM ; +if (url ==NULL ) + url ="" ; + dbus_message_append_args(agent->msg, DBUS_TYPE_STRING, &text, DBUS_TYPE_BYTE, &icon_id,
Signature · 1 line
1.7.1
Hi Nicolas,
Quoted 6 lines · Nicolas Bertrand
Avoid error with STK command "LAUNCH BROWSER" and default URL
--- src/stkagent.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Patch has been applied, thanks.
Regards,
-Denis