aboutsummaryrefslogtreecommitdiff
path: root/libsylph/socket.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-04-18 08:13:07 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-04-18 08:13:07 +0000
commit125a300931300ed5ed24c27a7f4f3479d895b790 (patch)
tree86fa0b10e6df02e670a3ec5a9ad594212f50a901 /libsylph/socket.c
parentc554190ffe6ade73009846ba6729bb79413c5346 (diff)
replaced 'struct stat' with GStatBuf.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3389 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/socket.c')
-rw-r--r--libsylph/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/socket.c b/libsylph/socket.c
index 6da0b6f8..18ffbe48 100644
--- a/libsylph/socket.c
+++ b/libsylph/socket.c
@@ -792,7 +792,7 @@ static void resolver_init(void)
{
#ifdef G_OS_UNIX
static time_t resolv_conf_mtime = 0;
- struct stat s;
+ GStatBuf s;
if (g_stat("/etc/resolv.conf", &s) == 0 &&
s.st_mtime != resolv_conf_mtime) {