aboutsummaryrefslogtreecommitdiff
path: root/src/addrcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/addrcache.c')
-rw-r--r--src/addrcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrcache.c b/src/addrcache.c
index 6a491256..28a65d58 100644
--- a/src/addrcache.c
+++ b/src/addrcache.c
@@ -194,7 +194,7 @@ gboolean addrcache_check_file( AddressCache *cache, gchar *path ) {
struct stat filestat;
retVal = TRUE;
if( path ) {
- if( 0 == lstat( path, &filestat ) ) {
+ if( 0 == stat( path, &filestat ) ) {
if( filestat.st_mtime == cache->modifyTime ) retVal = FALSE;
}
}
@@ -209,7 +209,7 @@ gboolean addrcache_mark_file( AddressCache *cache, gchar *path ) {
gboolean retVal = FALSE;
struct stat filestat;
if( path ) {
- if( 0 == lstat( path, &filestat ) ) {
+ if( 0 == stat( path, &filestat ) ) {
cache->modifyTime = filestat.st_mtime;
retVal = TRUE;
}