diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-26 17:54:40 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-26 17:54:40 +0200 |
commit | 63d4df1fbb5ac13cd388a1a0069ab82a13f81069 (patch) | |
tree | 12c4ef5371b2f2e5d7435bf51fa406a5d4d45060 /src/b_sqb_file.c | |
parent | New comparison strings stuff (diff) | |
download | 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.gz 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.bz2 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.xz 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.tar.zst 42-minishell-63d4df1fbb5ac13cd388a1a0069ab82a13f81069.zip |
Numbers are goodio, now errcheck
Diffstat (limited to 'src/b_sqb_file.c')
-rw-r--r-- | src/b_sqb_file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/b_sqb_file.c b/src/b_sqb_file.c index f0cd374..c3a568d 100644 --- a/src/b_sqb_file.c +++ b/src/b_sqb_file.c @@ -70,14 +70,14 @@ uint8_t static t_bool b_sqb_file_comp_tests(uint8_t id, - struct stat sb_one, - struct stat sb_two) + struct stat sb1, + struct stat sb2) { if (id == FT_ID_SQB_NT && - sb_one.st_mtim.tv_sec > sb_two.st_mtim.tv_sec) + sb1.st_mtim.tv_sec > sb2.st_mtim.tv_sec) return (TRUE); else if (id == FT_ID_SQB_OT && - sb_one.st_mtim.tv_sec < sb_two.st_mtim.tv_sec) + sb1.st_mtim.tv_sec < sb2.st_mtim.tv_sec) return (TRUE); return (FALSE); } |