format+prettier

This commit is contained in:
Cory McWilliams 2024-06-03 12:36:34 -04:00
parent feb4bf9e87
commit 71329c5532
2 changed files with 2 additions and 6 deletions

View File

@ -147,9 +147,7 @@ export async function picker(callback, anchor, author) {
${styles}
</style>
<div class="w3-modal" style="display: block">
<div class="w3-modal-content w3-card-4">
${div}
</div>
<div class="w3-modal-content w3-card-4">${div}</div>
</div>
`;
let parent = document.createElement('div');

View File

@ -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));