vici: Document errno values to expect from libvici API

This commit is contained in:
Martin Willi
2014-05-07 14:13:39 +02:00
parent c2b6402eb0
commit e0a34ee459
2 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -532,7 +532,7 @@ char* vici_parse_value_str(vici_res_t *res)
case VICI_KEY_VALUE:
if (!chunk_printable(res->value, NULL, 0))
{
errno = EINVAL;
errno = EBADMSG;
return NULL;
}
val = strndup(res->value.ptr, res->value.len);