projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c5de7
)
src/graph_list.c: Fix "gl_compare_hosts".
author
Florian Forster
<ff@octo.it>
Wed, 7 Jul 2010 14:12:54 +0000
(16:12 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 7 Jul 2010 14:12:54 +0000
(16:12 +0200)
src/graph_list.c
patch
|
blob
|
history
diff --git
a/src/graph_list.c
b/src/graph_list.c
index
60ac94f
..
f5cb2e9
100644
(file)
--- a/
src/graph_list.c
+++ b/
src/graph_list.c
@@
-158,7
+158,7
@@
static int gl_clear_hosts (void) /* {{{ */
static int gl_compare_hosts (const void *v0, const void *v1) /* {{{ */
{
- return (strcmp (
v0,
v1));
+ return (strcmp (
*(char * const *) v0, *(char * const *)
v1));
} /* }}} int gl_compare_hosts */
static int gl_register_file (const graph_ident_t *file, /* {{{ */