Diff between d414d4238725e4f0877aab94057e2d1353a75d65 and 4b6566781a189c203484d92cb22154ba914fbc82
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/manager.c | +7 | -0 | modified |
Full Patch
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index da11cb6..4c72ff6 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -463,8 +463,15 @@ static void agent_reply(DBusPendingCall *call, gpointer user_data)
static gboolean auth_error(GIOChannel *io, GIOCondition cond,
gpointer user_data)
{
+ DBusMessage *msg;
+
agent->auth_pending = FALSE;
+ msg = dbus_message_new_method_call(agent->bus_name, agent->path,
+ "org.openobex.Agent", "Cancel");
+
+ dbus_connection_send_with_reply(connection, msg, NULL, -1);
+
return FALSE;
}