From 018b28328c7ac0f4f99739d7dff13aa2f32b853d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 19 Jan 2005 19:30:29 +0000 Subject: No need for conditional code around do_lstat() anymore. --- tls.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'tls.c') diff --git a/tls.c b/tls.c index 80d20c8b..6c0466f8 100644 --- a/tls.c +++ b/tls.c @@ -65,14 +65,8 @@ static void list_file(const char *fname) struct tm *mt; char datebuf[50]; char linkbuf[4096]; - int ret; - -#if SUPPORT_LINKS - ret = do_lstat(fname, &buf); -#else - ret = do_stat(fname, &buf); -#endif - if (ret < 0) + + if (do_lstat(fname, &buf) < 0) failed("stat", fname); /* The size of anything but a regular file is probably not -- cgit v1.2.3