diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-09-11 18:35:09 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-09-11 18:35:09 -0300 |
commit | a9ea6926b95c4e36c17d7a49ab9648aa5bfe0f0b (patch) | |
tree | 58f9767cf6385bbcf72b381100b088fec0c54b44 | |
parent | a3fbc8a1d14cd97eb9d59db2fcf9ce9fd4c64ec7 (diff) |
Fix segfault on agent_is_busy.
-rw-r--r-- | src/agent.c | 2 |
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) |