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