diff options
author | shennetsind <ind@henn.et> | 2013-07-05 19:20:08 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-05 19:59:12 -0300 |
commit | dc85ce04b774af63fd9d13d9757feb91d56c1b81 (patch) | |
tree | a7d01a4352d615b7cdc128ad030963b4db180f30 /src/common/utils.c | |
parent | 0118a097c9626b3f8342dd29897392f3da4c1187 (diff) | |
parent | 3fd6437cc84cbb87f27bd43f990d468623a2a49e (diff) | |
download | hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.tar.gz hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.tar.bz2 hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.tar.xz hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.zip |
HCache | Item Packages Update
http://hercules.ws/board/topic/1389-hcache-item-packages-update/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/utils.c')
-rw-r--r-- | src/common/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/utils.c b/src/common/utils.c index 3ea970a1b..fd332253d 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -292,7 +292,7 @@ bool HCache_check(const char *file) { struct stat bufa, bufb; FILE *first, *second; char s_path[255], dT[1]; - size_t rtime; + time_t rtime; if( !(first = fopen(file,"rb")) ) return false; @@ -316,7 +316,7 @@ bool HCache_check(const char *file) { } fstat(fileno(first), &bufa); - fstat(fileno(first), &bufa); + fstat(fileno(first), &bufb); fclose(first); fclose(second); |