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