Use 'GStatBuf' instead of 'struct stat' type where possible.
[claws.git] / src / addrcache.c
index eb99af15ab4d5c62bf5fa32b776d0ee77a68a95c..2765b41bb0ae8b081bcd17703c18339c2c256a02 100644 (file)
@@ -242,7 +242,7 @@ void addrcache_free( AddressCache *cache ) {
 */
 gboolean addrcache_check_file( AddressCache *cache, gchar *path ) {
        gboolean retVal;
-       struct stat filestat;
+       GStatBuf filestat;
        retVal = TRUE;
        if( path ) {
                if( 0 == g_stat( path, &filestat ) ) {
@@ -258,7 +258,7 @@ gboolean addrcache_check_file( AddressCache *cache, gchar *path ) {
 */
 gboolean addrcache_mark_file( AddressCache *cache, gchar *path ) {
        gboolean retVal = FALSE;
-       struct stat filestat;
+       GStatBuf filestat;
        if( path ) {
                if( 0 == g_stat( path, &filestat ) ) {
                        cache->modifyTime = filestat.st_mtime;