From f9cba834cdcd5f35d21768b6412577236adc5ed2 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Sun, 4 Jan 2015 19:05:39 +0000
Subject: 34091: typo with "whence -s" expansions
---
Src/utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'Src/utils.c')
diff --git a/Src/utils.c b/Src/utils.c
index 2b2a815a8..959df9ab7 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -795,12 +795,12 @@ xsymlinks(char *s, int full)
}
if (*xbuf3 == '/') {
strcpy(xbuf, "");
- if (xsymlinks(xbuf3 + 1, 0) < 0)
+ if (xsymlinks(xbuf3 + 1, 1) < 0)
ret = -1;
else
xbuflen = strlen(xbuf);
} else
- if (xsymlinks(xbuf3, 0) < 0)
+ if (xsymlinks(xbuf3, 1) < 0)
ret = -1;
else
xbuflen = strlen(xbuf);
--
cgit 1.4.1