summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--server.c1
-rw-r--r--torus.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/server.c b/server.c
index 4c62b70..b8cf76a 100644
--- a/server.c
+++ b/server.c
@@ -290,6 +290,7 @@ static bool clientMap(const struct Client *client) {
 
 	time_t now = time(NULL);
 	struct Map map = {
+		.now = now,
 		.min = {
 			.createTime = now,
 			.modifyTime = now,
diff --git a/torus.h b/torus.h
index 8194839..d446488 100644
--- a/torus.h
+++ b/torus.h
@@ -104,6 +104,7 @@ enum {
 };
 
 struct Map {
+	time_t now;
 	struct Meta min;
 	struct Meta max;
 	struct Meta meta[MAP_ROWS][MAP_COLS];