summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-11 23:38:31 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-11 23:38:31 +0200
commit3d9320381dd4170ba8a2b9a2911e0bfb16facadd (patch)
treeb0dfb0dcb7e128f784b96b5f547e06762b790b9e
parent53f1e541f59da2049db1b2ba3e0b504f25fca7fb (diff)
parenta9ea6926b95c4e36c17d7a49ab9648aa5bfe0f0b (diff)
Merge branch 'for-upstream' of git://gitorious.org/bluez/vudentzs-clone
-rw-r--r--src/agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agent.c b/src/agent.c
index d514d191..e97f31fc 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -782,7 +782,7 @@ gboolean agent_matches(struct agent *agent, const char *name, const char *path)
gboolean agent_is_busy(struct agent *agent, void *user_data)
{
- if (agent->request)
+ if (!agent->request)
return FALSE;
if (user_data && user_data != agent->request->user_data)