projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37c84f
)
Fix comparison with invalid supplicant interface path
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 27 May 2009 10:32:44 +0000
(12:32 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 27 May 2009 10:32:44 +0000
(12:32 +0200)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
cb84cc5
..
00dfebd
100644
(file)
--- 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_str
cmp0(task->path, path) == 0
)
return task;
}