mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:33:31 +03:00
tidy-up: replace (-1 != expressions
This commit is contained in:
parent
8f18750bd2
commit
656c1cae6a
4 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue