Skip to content

Commit 917e35f

Browse files
format
1 parent 4c07399 commit 917e35f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cy/cy.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -942,16 +942,16 @@ static cy_err_t topic_new(cy_t* const cy,
942942
topic->evictions = evictions;
943943
topic->hash = hash;
944944

945-
const cy_us_t now = cy_now(cy);
946-
topic->ts_origin = now - (pow2us(lage) * MEGA);
947-
topic->ts_animated = now;
948-
topic->pub_next_tag_56bit = cy->vtable->random(cy); // bits above 56 are ignored (can be arbitrary)
949-
topic->couplings = NULL;
950-
topic->subscribed = false;
945+
const cy_us_t now = cy_now(cy);
946+
topic->ts_origin = now - (pow2us(lage) * MEGA);
947+
topic->ts_animated = now;
948+
topic->pub_next_tag_56bit = cy->vtable->random(cy); // bits above 56 are ignored (can be arbitrary)
949+
topic->couplings = NULL;
950+
topic->subscribed = false;
951951
topic->sub_index_dedup_by_remote_id = NULL;
952952
topic->sub_list_dedup_by_recency = LIST_EMPTY;
953-
topic->pub_count = 0;
954-
topic->user_context = CY_USER_CONTEXT_EMPTY;
953+
topic->pub_count = 0;
954+
topic->user_context = CY_USER_CONTEXT_EMPTY;
955955

956956
if (cavl_count(cy->topics_by_hash) >= (cy->subject_id_modulus / 4)) {
957957
goto bad_name;

0 commit comments

Comments
 (0)