Whitespace.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4230 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-03-17 22:57:18 +00:00
parent 54dde76a8a
commit bdac0c7879
4 changed files with 5 additions and 6 deletions

View File

@ -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]; 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); tf_ssb_id_bin_to_str(ssb->debug_close[0].id, sizeof(ssb->debug_close[0].id), connection->serverpub);
if (connection->tunnel_connection) 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( tf_ssb_connection_rpc_send(
connection->tunnel_connection, connection->tunnel_connection,
k_ssb_rpc_flag_binary | k_ssb_rpc_flag_stream, k_ssb_rpc_flag_binary | k_ssb_rpc_flag_stream,
-connection->tunnel_request_number, -connection->tunnel_request_number,
data, data,
size, size,
NULL, NULL,
@ -3192,7 +3192,6 @@ void tf_ssb_notify_message_added(tf_ssb_t* ssb, const char* id)
NULL, NULL,
NULL, NULL,
NULL); NULL);
} }
} }

View File

@ -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)) 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_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; return true;
} }
} }

View File

@ -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++) for (int k = 0; k < task->_promise_stacks[i].cstack_count; k++)
{ {
backtrace_pcinfo( backtrace_pcinfo(
g_backtrace_state, g_backtrace_state,
(uintptr_t)task->_promise_stacks[i].cstack[k], (uintptr_t)task->_promise_stacks[i].cstack[k],
_tf_backtrace_callback, _tf_backtrace_callback,
_tf_backtrace_error, _tf_backtrace_error,

View File

@ -460,7 +460,7 @@ const char* tf_util_backtrace_to_string(void* const* buffer, int count)
for (int i = 0; i < count; i++) for (int i = 0; i < count; i++)
{ {
backtrace_pcinfo( backtrace_pcinfo(
g_backtrace_state, g_backtrace_state,
(uintptr_t)buffer[i], (uintptr_t)buffer[i],
_tf_util_backtrace_callback, _tf_util_backtrace_callback,
_tf_util_backtrace_error, _tf_util_backtrace_error,