diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2001-02-13 01:44:28 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2001-02-13 01:44:28 -0500 |
commit | affaa4f761ddf2c0edce3e00f3a989a0ef8a44d8 (patch) | |
tree | 3da4fcaa7cba63a893e69b0e6737b6eb4cea4079 /WWW/Library/Implementation/HTFile.c | |
parent | 2a786b2632ff4fe945cb5826f7a378778caf72eb (diff) | |
download | lynx-snapshots-affaa4f761ddf2c0edce3e00f3a989a0ef8a44d8.tar.gz |
snapshot of project "lynx", label v2-8-4dev_18
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index 3e990097..0fbbbde7 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -2025,11 +2025,10 @@ PUBLIC int HTStat ARGS2( */ if (access(temp_name, 0) == 0) { if (stat(temp_name, data) == -1) data->st_mode = S_IFDIR; - return 0; + result = 0; } - return -1; #else - return stat(temp_name, data); + result = stat(temp_name, data); #endif if (temp_name != filename) { |