projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libcollectdclient: Use `EILSEQ' rather than `EPROTO'.
[collectd.git]
/
src
/
libcollectdclient
/
client.c
diff --git
a/src/libcollectdclient/client.c
b/src/libcollectdclient/client.c
index
847eafc
..
93eadb7
100644
(file)
--- a/
src/libcollectdclient/client.c
+++ b/
src/libcollectdclient/client.c
@@
-678,7
+678,7
@@
int lcc_getval (lcc_connection_t *c, lcc_identifier_t *ident, /* {{{ */
key = res.lines[i];
value = strchr (key, '=');
if (value == NULL)
- BAIL_OUT (E
PROTO
);
+ BAIL_OUT (E
ILSEQ
);
*value = 0;
value++;
@@
-885,7
+885,7
@@
int lcc_listval (lcc_connection_t *c, /* {{{ */
if (*ident_str == 0)
{
- lcc_set_errno (c, E
PROTO
);
+ lcc_set_errno (c, E
ILSEQ
);
status = -1;
break;
}