From 71329c553220064010e51addf237b99a6dee5274 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 3 Jun 2024 12:36:34 -0400 Subject: [PATCH] format+prettier --- apps/ssb/emojis.js | 4 +--- src/ssb.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/ssb/emojis.js b/apps/ssb/emojis.js index 4fb8c431..d5ff42e9 100644 --- a/apps/ssb/emojis.js +++ b/apps/ssb/emojis.js @@ -147,9 +147,7 @@ export async function picker(callback, anchor, author) { ${styles}
-
- ${div} -
+
${div}
`; let parent = document.createElement('div'); diff --git a/src/ssb.c b/src/ssb.c index a7d9e398..76fe3419 100644 --- a/src/ssb.c +++ b/src/ssb.c @@ -612,9 +612,7 @@ static void _tf_ssb_connection_box_stream_send(tf_ssb_connection_t* connection, static void _tf_ssb_connection_dispatch_scheduled(tf_ssb_connection_t* connection) { - while ((connection->active_write_count == 0 || connection->closing) && - connection->scheduled_count && - connection->scheduled) + while ((connection->active_write_count == 0 || connection->closing) && connection->scheduled_count && connection->scheduled) { tf_ssb_connection_scheduled_t scheduled = connection->scheduled[0]; memmove(connection->scheduled, connection->scheduled + 1, sizeof(tf_ssb_connection_scheduled_t) * (connection->scheduled_count - 1));