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