summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorMichael Savisko <savisko@yahoo.com>2018-10-11 13:51:59 +0300
committerMichael Savisko <savisko@yahoo.com>2018-10-11 13:51:59 +0300
commit47d8e03d3ac43be2b109595483b9358f1e9c6eb5 (patch)
tree9db8449bdbb728fe00bab1738dd8c6c2012d4e43 /sesman
parentba93badf7398d18619c16d2ac2b35b543c268cd6 (diff)
downloadxrdp-proprietary-47d8e03d3ac43be2b109595483b9358f1e9c6eb5.tar.gz
xrdp-proprietary-47d8e03d3ac43be2b109595483b9358f1e9c6eb5.zip
Fixed compilation warning in previous commit.
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/chansrv_fuse.c6
1 files 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);