diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-05-27 12:32:44 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-05-27 12:32:44 +0200 |
commit | 55e3005fcd96479b0512d6e4954de05cdd55b7ce (patch) | |
tree | 2fcaeacb4ef33f778ff854d59d94f76cc01bb439 | |
parent | d37c84fb73cd705e0aceb06a701b764c9be0ebed (diff) | |
download | connman-55e3005fcd96479b0512d6e4954de05cdd55b7ce.tar.gz connman-55e3005fcd96479b0512d6e4954de05cdd55b7ce.tar.bz2 connman-55e3005fcd96479b0512d6e4954de05cdd55b7ce.zip |
Fix comparison with invalid supplicant interface path
-rw-r--r-- | plugins/supplicant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index cb84cc5a..00dfebd7 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -214,7 +214,7 @@ static struct supplicant_task *find_task_by_path(const char *path) for (list = task_list; list; list = list->next) { struct supplicant_task *task = list->data; - if (g_str_equal(task->path, path) == TRUE) + if (g_strcmp0(task->path, path) == 0) return task; } |