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 11:01:49 -0500
committerJune McEnroe <june@causal.agency>2019-01-04 11:01:49 -0500
commit85ae39946323bee87595842deaf296b2ff457549 (patch)
treebffeb1ba6c27382bc4a20034b984cdea15d06399 /meta.c
parentCall cap_enter in client and server (diff)
downloadtorus-85ae39946323bee87595842deaf296b2ff457549.tar.gz
torus-85ae39946323bee87595842deaf296b2ff457549.zip
Restore old data format
Diffstat (limited to '')
-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
 		);
 	}
 }