summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57c5de7)
raw | patch | inline | side by side (parent: 57c5de7)
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 60ac94fc3cf55c7d23f04310ccdf5af096448b6f..f5cb2e9895e1096f77a2eb9e64ea622a2694bed7 100644 (file)
--- a/src/graph_list.c
+++ b/src/graph_list.c
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, /* {{{ */