forked from cory/tildefriends
Some missing log newlines.
This commit is contained in:
parent
fabdfb76b9
commit
bb9c18faf1
@ -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);
|
int r = uv_fs_unlink(tf_ssb_get_loop(export->ssb), &req, path, NULL);
|
||||||
if (r)
|
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);
|
uv_fs_req_cleanup(&req);
|
||||||
tf_free(path);
|
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);
|
int r = uv_fs_scandir(tf_ssb_get_loop(ssb), &export.req, file_path, 0, _tf_ssb_export_scandir);
|
||||||
if (r)
|
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)
|
while (!export.done)
|
||||||
{
|
{
|
||||||
|
@ -155,7 +155,7 @@ static void _tf_ssb_import_recursive_add_files(tf_ssb_t* ssb, uv_loop_t* loop, J
|
|||||||
}
|
}
|
||||||
else
|
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);
|
uv_fs_req_cleanup(&req);
|
||||||
}
|
}
|
||||||
@ -260,7 +260,7 @@ void tf_ssb_import(tf_ssb_t* ssb, const char* user, const char* path)
|
|||||||
}
|
}
|
||||||
else
|
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);
|
uv_fs_req_cleanup(&req);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user