routes_mask: whitespace fixes
* Set the routes_mask for input chunk with a router_match on tag, return a
* non-zero value if any routes matched
*/
-int flb_routes_mask_set_by_tag(uint64_t *routes_mask, const char *tag, int tag_len, struct flb_input_instance *in)
+int flb_routes_mask_set_by_tag(uint64_t *routes_mask,
+ const char *tag,
+ int tag_len,
+ struct flb_input_instance *in)
{
int has_routes = 0;
struct mk_list *o_head;
@@ -74,7 +77,8 @@ void flb_routes_mask_set_bit(uint64_t *routes_mask, int value)
uint64_t bit;
if (value < 0 || value > FLB_ROUTES_MASK_MAX_VALUE) {
- flb_warn("[routes_mask] Can't set bit (%d) past limits of bitfield", value);
+ flb_warn("[routes_mask] Can't set bit (%d) past limits of bitfield",
+ value);
return;
}
@@ -96,7 +100,8 @@ void flb_routes_mask_clear_bit(uint64_t *routes_mask, int value)
uint64_t bit;
if (value < 0 || value > FLB_ROUTES_MASK_MAX_VALUE) {
- flb_warn("[routes_mask] Can't set bit (%d) past limits of bitfield", value);
+ flb_warn("[routes_mask] Can't set bit (%d) past limits of bitfield",
+ value);
return;
}
@@ -119,7 +124,8 @@ int flb_routes_mask_get_bit(uint64_t *routes_mask, int value)
uint64_t bit;
if (value < 0 || value > FLB_ROUTES_MASK_MAX_VALUE) {
- flb_warn("[routes_mask] Can't get bit (%d) past limits of bitfield", value);
+ flb_warn("[routes_mask] Can't get bit (%d) past limits of bitfield",
+ value);
return 0;
}
