X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/48d3ff94c99983d40a33c4525fd9293be30596a5..82471e68a8bb3da8ca95f2b6564c330c52ce891e:/tls.c diff --git a/tls.c b/tls.c index 89b64451..6c0466f8 100644 --- a/tls.c +++ b/tls.c @@ -66,7 +66,7 @@ static void list_file(const char *fname) char datebuf[50]; char linkbuf[4096]; - if (do_lstat(fname, &buf) == -1) + if (do_lstat(fname, &buf) < 0) failed("stat", fname); /* The size of anything but a regular file is probably not