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
commit4a270f301bbf2cf07c340e895cb79c226b9fb7fb (patch)
tree41f192825f5a1e03549c62c22c289c5e4014a954 /meta.c
parentCall cap_enter in client and server (diff)
downloadtorus-4a270f301bbf2cf07c340e895cb79c226b9fb7fb.tar.gz
torus-4a270f301bbf2cf07c340e895cb79c226b9fb7fb.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 90577d1..5e1736e 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
 		);
 	}
 }