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 doc and minor changes
[protos/libecoli.git]
/
src
/
ecoli_node_file.c
diff --git
a/src/ecoli_node_file.c
b/src/ecoli_node_file.c
index
ff77e01
..
933b997
100644
(file)
--- a/
src/ecoli_node_file.c
+++ b/
src/ecoli_node_file.c
@@
-36,11
+36,11
@@
struct ec_node_file {
static int
ec_node_file_parse(const struct ec_node *node,
static int
ec_node_file_parse(const struct ec_node *node,
- struct ec_pnode *state,
+ struct ec_pnode *
p
state,
const struct ec_strvec *strvec)
{
(void)node;
const struct ec_strvec *strvec)
{
(void)node;
- (void)state;
+ (void)
p
state;
if (ec_strvec_len(strvec) == 0)
return EC_PARSE_NOMATCH;
if (ec_strvec_len(strvec) == 0)
return EC_PARSE_NOMATCH;
@@
-210,8
+210,8
@@
ec_node_file_complete(const struct ec_node *node,
if (ec_asprintf(&disp_str, "%s", de->d_name) < 0)
goto fail;
}
if (ec_asprintf(&disp_str, "%s", de->d_name) < 0)
goto fail;
}
- i
f (ec_comp_add_item(comp, node, &item,
-
type, input, comp_str) < 0
)
+ i
tem = ec_comp_add_item(comp, node, type, input, comp_str);
+
if (item == NULL
)
goto out;
/* fix the display string: we don't want to display the full
goto out;
/* fix the display string: we don't want to display the full