mirror of
https://github.com/schoebel/mars
synced 2024-12-26 00:22:31 +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;
|
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);
|
MARS_WRN("field %2d '%s' is missing\n", count, meta->field_name);
|
||||||
found:;
|
found:;
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
if (unlikely(!count)) {
|
||||||
|
MARS_ERR("bad protocol: ALL fields are missing\n");
|
||||||
|
}
|
||||||
brick_string_free(tmp);
|
brick_string_free(tmp);
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user