From: Kevin Day Date: Sun, 29 Jan 2023 22:23:47 +0000 (-0600) Subject: Update: Use f_file_stream_read() instead of f_file_read() after opening as a stream. X-Git-Tag: 0.6.4~67 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=abc2bc5f830a8b5959c5919355076e5df1d77153;p=fll Update: Use f_file_stream_read() instead of f_file_read() after opening as a stream. --- diff --git a/level_3/fake/c/private-fake.c b/level_3/fake/c/private-fake.c index bb858cc..09b19b7 100644 --- a/level_3/fake/c/private-fake.c +++ b/level_3/fake/c/private-fake.c @@ -124,12 +124,12 @@ extern "C" { status = F_true; } - name_function = "f_file_open"; + name_function = "f_file_stream_open"; status = f_file_stream_open(path_file, f_string_empty_s, &file); if (F_status_is_error_not(status)) { - name_function = "f_file_read"; - status = f_file_read(file, buffer); + name_function = "f_file_stream_read"; + status = f_file_stream_read(file, buffer); f_file_stream_close(F_true, &file); }