From bb9c18faf15c51e3fe7523657b48be87b42aab54 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 30 Sep 2024 12:13:57 -0400 Subject: [PATCH] Some missing log newlines. --- src/ssb.export.c | 4 ++-- src/ssb.import.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ssb.export.c b/src/ssb.export.c index 8dd6f6f3..f51d634f 100644 --- a/src/ssb.export.c +++ b/src/ssb.export.c @@ -69,7 +69,7 @@ static void _tf_ssb_export_scandir(uv_fs_t* req) int r = uv_fs_unlink(tf_ssb_get_loop(export->ssb), &req, path, NULL); if (r) { - tf_printf("Failed to unlink %s: %s.", path, uv_strerror(r)); + tf_printf("Failed to unlink %s: %s.\n", path, uv_strerror(r)); } uv_fs_req_cleanup(&req); tf_free(path); @@ -199,7 +199,7 @@ void tf_ssb_export(tf_ssb_t* ssb, const char* key) int r = uv_fs_scandir(tf_ssb_get_loop(ssb), &export.req, file_path, 0, _tf_ssb_export_scandir); if (r) { - tf_printf("Failed to scan directory %s: %s.", file_path, uv_strerror(r)); + tf_printf("Failed to scan directory %s: %s.\n", file_path, uv_strerror(r)); } while (!export.done) { diff --git a/src/ssb.import.c b/src/ssb.import.c index 8d93012c..5e1a9489 100644 --- a/src/ssb.import.c +++ b/src/ssb.import.c @@ -155,7 +155,7 @@ static void _tf_ssb_import_recursive_add_files(tf_ssb_t* ssb, uv_loop_t* loop, J } else { - tf_printf("Failed to scan directory %s: %s.", path, uv_strerror(r)); + tf_printf("Failed to scan directory %s: %s.\n", path, uv_strerror(r)); } uv_fs_req_cleanup(&req); } @@ -260,7 +260,7 @@ void tf_ssb_import(tf_ssb_t* ssb, const char* user, const char* path) } else { - tf_printf("Failed to scan directory %s: %s.", path, uv_strerror(r)); + tf_printf("Failed to scan directory %s: %s.\n", path, uv_strerror(r)); } uv_fs_req_cleanup(&req); }