From bdac0c7879d128537128866877fbd68c2a0ce538 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 17 Mar 2023 22:57:18 +0000 Subject: [PATCH] Whitespace. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4230 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/ssb.c | 5 ++--- src/ssb.db.c | 2 +- src/task.c | 2 +- src/util.js.c | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/ssb.c b/src/ssb.c index e2d8e54a..23e2bb2c 100644 --- a/src/ssb.c +++ b/src/ssb.c @@ -335,7 +335,7 @@ static void _tf_ssb_add_debug_close(tf_ssb_t* ssb, tf_ssb_connection_t* connecti { ssb->debug_close[i] = ssb->debug_close[i - 1]; } - + tf_ssb_id_bin_to_str(ssb->debug_close[0].id, sizeof(ssb->debug_close[0].id), connection->serverpub); if (connection->tunnel_connection) { @@ -444,7 +444,7 @@ static void _tf_ssb_write(tf_ssb_connection_t* connection, void* data, size_t si tf_ssb_connection_rpc_send( connection->tunnel_connection, k_ssb_rpc_flag_binary | k_ssb_rpc_flag_stream, - -connection->tunnel_request_number, + -connection->tunnel_request_number, data, size, NULL, @@ -3192,7 +3192,6 @@ void tf_ssb_notify_message_added(tf_ssb_t* ssb, const char* id) NULL, NULL, NULL); - } } diff --git a/src/ssb.db.c b/src/ssb.db.c index 633c3dbe..cd81c913 100644 --- a/src/ssb.db.c +++ b/src/ssb.db.c @@ -896,7 +896,7 @@ bool tf_ssb_db_identity_create(tf_ssb_t* ssb, const char* user, uint8_t* out_pub if (tf_ssb_db_identity_add(ssb, user, public, private)) { tf_ssb_id_str_to_bin(out_public_key, public); - tf_ssb_id_str_to_bin(out_private_key, private); + tf_ssb_id_str_to_bin(out_private_key, private); return true; } } diff --git a/src/task.c b/src/task.c index 9a07457b..3cb0c029 100644 --- a/src/task.c +++ b/src/task.c @@ -854,7 +854,7 @@ static JSValue _tf_task_getDebug(JSContext* context, JSValueConst this_val, int for (int k = 0; k < task->_promise_stacks[i].cstack_count; k++) { backtrace_pcinfo( - g_backtrace_state, + g_backtrace_state, (uintptr_t)task->_promise_stacks[i].cstack[k], _tf_backtrace_callback, _tf_backtrace_error, diff --git a/src/util.js.c b/src/util.js.c index 3eb5bca0..3c46469d 100644 --- a/src/util.js.c +++ b/src/util.js.c @@ -460,7 +460,7 @@ const char* tf_util_backtrace_to_string(void* const* buffer, int count) for (int i = 0; i < count; i++) { backtrace_pcinfo( - g_backtrace_state, + g_backtrace_state, (uintptr_t)buffer[i], _tf_util_backtrace_callback, _tf_util_backtrace_error,