summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-08 11:17:49 -0300
committershennetsind <ind@henn.et>2013-07-08 11:17:49 -0300
commit939d15818b6f17913a12175e197ac7aea1e2e05d (patch)
tree97ad5ee28bdfea76a144c9713efbe0eed3fc7fac /src
parent8a127e11bfaf108cc66865dd4b1a379da2416f46 (diff)
downloadhercules-939d15818b6f17913a12175e197ac7aea1e2e05d.tar.gz
hercules-939d15818b6f17913a12175e197ac7aea1e2e05d.tar.bz2
hercules-939d15818b6f17913a12175e197ac7aea1e2e05d.tar.xz
hercules-939d15818b6f17913a12175e197ac7aea1e2e05d.zip
Follow up 0118a097c9626b3f8342dd29897392f3da4c1187
Special Thanks to Vader Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/common/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index fd332253d..4d6d35c5c 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -316,7 +316,7 @@ bool HCache_check(const char *file) {
}
fstat(fileno(first), &bufa);
- fstat(fileno(first), &bufb);
+ fstat(fileno(second), &bufb);
fclose(first);
fclose(second);