diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-06-26 01:52:35 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-06-26 01:52:35 +0000 |
| commit | 13ba408ef3316958b7cf9d5c1cdd3c222b1425ad (patch) | |
| tree | b309d2beeceae33966eec9a559c4e1d2599c1220 /src/update_all.c | |
| parent | b41654d159192ed8b97af8ab3fa7426c9e6443b6 (diff) | |
fixed -Wall and -Wextra warnings
Diffstat (limited to 'src/update_all.c')
| -rw-r--r-- | src/update_all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update_all.c b/src/update_all.c index 16b8636..8a7d57f 100644 --- a/src/update_all.c +++ b/src/update_all.c @@ -23,7 +23,7 @@ void update_all() { while ((dirent_ptr = readdir(dir_ptr)) != NULL) { if (strcmp(dirent_ptr->d_name, "..") == 0 || strcmp(dirent_ptr->d_name, ".") == 0) continue; for (size_t i = 0; i < cached_repos_count; i++) { - if (!strcmp(dirent_ptr->d_name, cached_repos[i].source_key) == 0) continue; + if (strcmp(dirent_ptr->d_name, cached_repos[i].source_key) != 0) continue; Pkg pkg = create_pkg(cached_repos[i].source_value); update_pkg(pkg); } |
