From 99bd3da9d9029e2288df1cf5ded1d5755266143d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 7 Jul 2010 17:24:31 +0200 Subject: [PATCH] src/graph.c: Compare instances with "inst_compare" not "ident_compare". D'oh! --- src/graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graph.c b/src/graph.c index d3a8d6f..f2699e1 100644 --- a/src/graph.c +++ b/src/graph.c @@ -486,8 +486,8 @@ int graph_compare (graph_config_t *cfg, const graph_ident_t *ident) /* {{{ */ static int graph_sort_instances_cb (const void *v0, const void *v1) /* {{{ */ { - return (ident_compare (*(graph_ident_t * const *) v0, - *(graph_ident_t * const *) v1)); + return (inst_compare (*(graph_instance_t * const *) v0, + *(graph_instance_t * const *) v1)); } /* }}} int graph_sort_instances_cb */ int graph_sort_instances (graph_config_t *cfg) /* {{{ */ -- 2.30.2