From 91b2a8d879b91dc290ca8a7d0d6f5dd905f7e794 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Mon, 10 Nov 2008 14:57:46 -0300 Subject: [PATCH] obexd: Do not try to send a error notification if the path is invalid --- obexd/client/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/client/session.c b/obexd/client/session.c index 3143cc0cb..873d72274 100644 --- a/obexd/client/session.c +++ b/obexd/client/session.c @@ -493,7 +493,7 @@ static void agent_notify_error(DBusConnection *conn, const char *agent_name, { DBusMessage *message; - if (agent_name == NULL || agent_path == NULL) + if (agent_name == NULL || agent_path == NULL || transfer_path == NULL) return; message = dbus_message_new_method_call(agent_name, -- 2.47.3