mirror of
https://github.com/schoebel/mars
synced 2024-12-25 08:02:26 +00:00
net: correct error message
This commit is contained in:
parent
ffcc691efd
commit
8a86c08750
@ -878,14 +878,14 @@ int _make_recver_cache(struct mars_desc_cache *mc, const struct meta *meta, int
|
||||
goto found;
|
||||
}
|
||||
}
|
||||
if (unlikely(!count)) {
|
||||
MARS_ERR("field '%s' is missing\n", meta->field_name);
|
||||
goto done;
|
||||
}
|
||||
MARS_WRN("field %2d '%s' is missing\n", count, meta->field_name);
|
||||
found:;
|
||||
}
|
||||
|
||||
done:
|
||||
if (unlikely(!count)) {
|
||||
MARS_ERR("bad protocol: ALL fields are missing\n");
|
||||
}
|
||||
brick_string_free(tmp);
|
||||
return count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user