From 47d8e03d3ac43be2b109595483b9358f1e9c6eb5 Mon Sep 17 00:00:00 2001 From: Michael Savisko Date: Thu, 11 Oct 2018 13:51:59 +0300 Subject: [PATCH] Fixed compilation warning in previous commit. --- sesman/chansrv/chansrv_fuse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c index 3c227a53..1095b63e 100644 --- a/sesman/chansrv/chansrv_fuse.c +++ b/sesman/chansrv/chansrv_fuse.c @@ -1253,9 +1253,9 @@ xfuse_create_file_in_xrdp_fs(tui32 device_id, int pinode, const char *name, xinode->nlink = 1; xinode->uid = getuid(); xinode->gid = getgid(); - xinode->atime = time(0); - xinode->mtime = time(0); - xinode->ctime = time(0); + xinode->atime = cur_time; + xinode->mtime = cur_time; + xinode->ctime = cur_time; xinode->device_id = device_id; xinode->is_synced = 1; strcpy(xinode->name, name);