about summary refs log tree commit diff homepage
path: root/meta.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-04 16:27:40 -0500
committerJune McEnroe <june@causal.agency>2019-01-04 16:27:40 -0500
commitbb7cdbc24e8c588bc0960e5f4e6f49a336f73fe2 (patch)
tree1a3886b30493415e83b67139afb7c9a5745df91d /meta.c
parentCall cap_enter in client and server (diff)
parentRe-create help page (diff)
downloadtorus-bb7cdbc24e8c588bc0960e5f4e6f49a336f73fe2.tar.gz
torus-bb7cdbc24e8c588bc0960e5f4e6f49a336f73fe2.zip
Merge branch 'backport'
Diffstat (limited to 'meta.c')
-rw-r--r--meta.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta.c b/meta.c
index ff80bd1..6e76647 100644
--- a/meta.c
+++ b/meta.c
@@ -28,15 +28,16 @@ int main() {
 		if (ferror(stdin)) err(EX_IOERR, "(stdin)");
 		if (!count) return EX_OK;
 
+		struct Meta meta = tileMeta(&tile);
 		printf(
 			"%d,%d,%jd,%u,%jd,%u,%jd\n",
 			i % TileCols,
 			i / TileCols,
-			tile.meta.createTime,
-			tile.meta.modifyCount,
-			tile.meta.modifyTime,
-			tile.meta.accessCount,
-			tile.meta.accessTime
+			meta.createTime,
+			meta.modifyCount,
+			meta.modifyTime,
+			meta.accessCount,
+			meta.accessTime
 		);
 	}
 }