Skip to content

Commit 6b85702

Browse files
fix typo
1 parent 1c7be38 commit 6b85702

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/zenoh-pico/session/session.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ typedef struct _z_pending_query_t _z_pending_query_t;
140140
typedef struct {
141141
_z_cancellation_token_rc_t _cancellation_token;
142142
size_t _handler_id;
143-
_z_sync_group_notifier_t _notifer;
143+
_z_sync_group_notifier_t _notifier;
144144
} _z_pending_query_cancellation_data_t;
145145

146146
static inline _z_pending_query_cancellation_data_t _z_pending_query_cancellation_data_null(void) {
@@ -151,7 +151,7 @@ static inline void _z_pending_query_cancellation_data_clear(_z_pending_query_can
151151
if (!_Z_RC_IS_NULL(&data->_cancellation_token)) {
152152
_z_cancellation_token_remove_on_cancel_handler(_Z_RC_IN_VAL(&data->_cancellation_token), data->_handler_id);
153153
_z_cancellation_token_rc_drop(&data->_cancellation_token);
154-
_z_sync_group_notifier_drop(&data->_notifer);
154+
_z_sync_group_notifier_drop(&data->_notifier);
155155
}
156156
}
157157

src/net/liveliness.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ z_result_t _z_liveliness_pending_query_register_cancellation(_z_liveliness_pendi
247247
pq->_cancellation_data._cancellation_token = _z_cancellation_token_rc_clone(opt_cancellation_token);
248248
pq->_cancellation_data._handler_id = handler_id;
249249
_Z_CLEAN_RETURN_IF_ERR(
250-
_z_cancellation_token_get_notifier(_Z_RC_IN_VAL(opt_cancellation_token), &pq->_cancellation_data._notifer),
250+
_z_cancellation_token_get_notifier(_Z_RC_IN_VAL(opt_cancellation_token), &pq->_cancellation_data._notifier),
251251
_z_pending_query_cancellation_data_clear(&pq->_cancellation_data));
252252
}
253253
return _Z_RES_OK;

src/session/query.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ z_result_t _z_pending_query_register_cancellation(_z_pending_query_t *pq,
314314
pq->_cancellation_data._cancellation_token = _z_cancellation_token_rc_clone(opt_cancellation_token);
315315
pq->_cancellation_data._handler_id = handler_id;
316316
_Z_CLEAN_RETURN_IF_ERR(
317-
_z_cancellation_token_get_notifier(_Z_RC_IN_VAL(opt_cancellation_token), &pq->_cancellation_data._notifer),
317+
_z_cancellation_token_get_notifier(_Z_RC_IN_VAL(opt_cancellation_token), &pq->_cancellation_data._notifier),
318318
_z_pending_query_cancellation_data_clear(&pq->_cancellation_data));
319319
}
320320
return _Z_RES_OK;

0 commit comments

Comments
 (0)