aboutsummaryrefslogtreecommitdiff
path: root/src/addrcache.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-05 07:22:10 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-05 07:22:10 +0000
commit3ec864159a1792df642a75611363c39fb1fd1cd3 (patch)
tree2441b71b8b443445b7bb1c5d4ac464e70679577f /src/addrcache.c
parent6247f6269afff27ecfe2ca9650e151f440ec806a (diff)
enabled compilation with MinGW.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@469 ee746299-78ed-0310-b773-934348b2243d
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;
}