tidy-up: replace (-1 != expressions

This commit is contained in:
Viktor Szakats 2025-07-09 19:05:57 +02:00
parent 8f18750bd2
commit 656c1cae6a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 7 additions and 7 deletions

View file

@ -76,7 +76,7 @@ int getfiletime(const char *filename, struct GlobalConfig *global,
}
#else
struct_stat statbuf;
if(-1 != stat(filename, &statbuf)) {
if(stat(filename, &statbuf) != -1) {
*stamp = (curl_off_t)statbuf.st_mtime;
rc = 0;
}