* [PATCH] Avoid error when URL is null
@ 2011-04-05 12:07 Nicolas Bertrand
2011-04-08 3:28 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Bertrand @ 2011-04-05 12:07 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
Avoid error with STK command "LAUNCH BROWSER" and default URL
---
src/stkagent.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/stkagent.c b/src/stkagent.c
index 54ca575..220812e 100644
--- a/src/stkagent.c
+++ b/src/stkagent.c
@@ -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,
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Avoid error when URL is null
2011-04-05 12:07 [PATCH] Avoid error when URL is null Nicolas Bertrand
@ 2011-04-08 3:28 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-04-08 3:28 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
Hi Nicolas,
On 04/05/2011 07:07 AM, Nicolas Bertrand wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-08 3:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 12:07 [PATCH] Avoid error when URL is null Nicolas Bertrand
2011-04-08 3:28 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.