Skip to content

Commit

Permalink
Fix formatting by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Sep 10, 2024
1 parent 3ea3059 commit e00d50f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/net/publish.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ void _z_publisher_free(_z_publisher_t **pub) {

_Bool _z_publisher_check(const _z_publisher_t *publisher) { return !_Z_RC_IS_NULL(&publisher->_zn); }
_z_publisher_t _z_publisher_null(void) {
return (_z_publisher_t) {
._congestion_control = Z_CONGESTION_CONTROL_DEFAULT, ._id = 0, ._key = _z_keyexpr_null(),
._priority = Z_PRIORITY_DEFAULT, ._zn = _z_session_weak_null(),
return (_z_publisher_t){._congestion_control = Z_CONGESTION_CONTROL_DEFAULT,
._id = 0,
._key = _z_keyexpr_null(),
._priority = Z_PRIORITY_DEFAULT,
._zn = _z_session_weak_null(),
#if Z_FEATURE_INTEREST == 1
._filter = (_z_write_filter_t) {
._interest_id = 0, .ctx = NULL
}
._filter = (_z_write_filter_t){._interest_id = 0, .ctx = NULL}
#endif
};
}
Expand Down

0 comments on commit e00d50f

Please sign in to comment.