X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/48d3ff94c99983d40a33c4525fd9293be30596a5..f90f71498e85aa0a3ce6f49609bcd70d0ff717c3:/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