git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api documentation for ec_parse
[protos/libecoli.git]
/
src
/
ecoli_yaml.c
diff --git
a/src/ecoli_yaml.c
b/src/ecoli_yaml.c
index
326af56
..
4843ef0
100644
(file)
--- a/
src/ecoli_yaml.c
+++ b/
src/ecoli_yaml.c
@@
-13,7
+13,7
@@
#include <yaml.h>
#include <ecoli_malloc.h>
#include <yaml.h>
#include <ecoli_malloc.h>
-#include <ecoli_
keyval
.h>
+#include <ecoli_
dict
.h>
#include <ecoli_node.h>
#include <ecoli_config.h>
#include <ecoli_yaml.h>
#include <ecoli_node.h>
#include <ecoli_config.h>
#include <ecoli_yaml.h>
@@
-466,7
+466,7
@@
parse_ec_node(struct enode_table *table,
config = NULL; /* freed */
if (help != NULL) {
config = NULL; /* freed */
if (help != NULL) {
- if (ec_
keyval
_set(ec_node_attrs(enode), "help", help,
+ if (ec_
dict
_set(ec_node_attrs(enode), "help", help,
ec_free_func) < 0) {
fprintf(stderr, "Failed to set help\n");
help = NULL;
ec_free_func) < 0) {
fprintf(stderr, "Failed to set help\n");
help = NULL;
@@
-486,7
+486,7
@@
parse_ec_node(struct enode_table *table,
value_dup = ec_strdup(value_str);
if (value_dup == NULL)
goto fail;
value_dup = ec_strdup(value_str);
if (value_dup == NULL)
goto fail;
- if (ec_
keyval
_set(ec_node_attrs(enode), key_str,
+ if (ec_
dict
_set(ec_node_attrs(enode), key_str,
value_dup, ec_free_func) < 0) {
value_dup = NULL;
goto fail;
value_dup, ec_free_func) < 0) {
value_dup = NULL;
goto fail;