projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0222986
)
src/graph_list.c: Use the "graph_inst_foreach" function.
author
Florian Forster
<ff@octo.it>
Mon, 21 Jun 2010 13:28:51 +0000
(15:28 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 21 Jun 2010 13:28:51 +0000
(15:28 +0200)
src/graph_list.c
patch
|
blob
|
history
diff --git
a/src/graph_list.c
b/src/graph_list.c
index
f3e9738
..
ca088a9
100644
(file)
--- a/
src/graph_list.c
+++ b/
src/graph_list.c
@@
-236,8
+236,7
@@
int gl_graph_instance_get_all (graph_config_t *cfg, /* {{{ */
if ((cfg == NULL) || (callback == NULL))
return (EINVAL);
- return (inst_foreach (graph_get_instances (cfg),
- gl_inst_callback_handler, &data));
+ return (graph_inst_foreach (cfg, gl_inst_callback_handler, &data));
} /* }}} int gl_graph_instance_get_all */
int gl_instance_get_all (graph_inst_callback_t callback, /* {{{ */