diff --git a/src/ssb.rpc.c b/src/ssb.rpc.c index f642674b..d60e1f22 100644 --- a/src/ssb.rpc.c +++ b/src/ssb.rpc.c @@ -34,7 +34,8 @@ static void _tf_ssb_rpc_blobs_get(tf_ssb_connection_t* connection, uint8_t flags for (int i = 0; i < length; i++) { JSValue arg = JS_GetPropertyUint32(context, ids, i); - if (!JS_IsString(arg)) { + if (!JS_IsString(arg)) + { JSValue key = JS_GetPropertyStr(context, arg, "key"); JS_FreeValue(context, arg); arg = key; diff --git a/src/ssb.tests.c b/src/ssb.tests.c index de32fee4..cbbda0a8 100644 --- a/src/ssb.tests.c +++ b/src/ssb.tests.c @@ -564,7 +564,8 @@ void tf_ssb_test_bench(const tf_test_options_t* options) struct timespec start_time = { 0 }; struct timespec end_time = { 0 }; clock_gettime(CLOCK_REALTIME, &start_time); - for (int i = 0; i < 10 * 1024; i++) { + for (int i = 0; i < 10 * 1024; i++) + { tf_ssb_append_post(ssb0, "Hello, world!"); } clock_gettime(CLOCK_REALTIME, &end_time);