about summary refs log tree commit diff homepage
path: root/meta.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-07-17 15:44:35 -0400
committerJune McEnroe <june@causal.agency>2018-07-17 15:44:35 -0400
commiteb420c49bb731a48fc5183e12e62156cebc24ed3 (patch)
tree24529444e100e5f3cc3a1cc576510e39510ef534 /meta.c
parentFix ncurses color pair numbering (diff)
downloadtorus-eb420c49bb731a48fc5183e12e62156cebc24ed3.tar.gz
torus-eb420c49bb731a48fc5183e12e62156cebc24ed3.zip
Tabify source
And other style changes.
Diffstat (limited to '')
-rw-r--r--meta.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/meta.c b/meta.c
index 3f4dcc8..ce71e82 100644
--- a/meta.c
+++ b/meta.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017, Curtis McEnroe <curtis@cmcenroe.me>
+/* Copyright (C) 2017  Curtis McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -21,22 +21,22 @@
 #include "torus.h"
 
 int main() {
-    printf("tileX,tileY,createTime,modifyCount,modifyTime,accessCount,accessTime\n");
-    for (int i = 0;; ++i) {
-        struct Tile tile;
-        size_t count = fread(&tile, sizeof(tile), 1, stdin);
-        if (ferror(stdin)) err(EX_IOERR, "(stdin)");
-        if (!count) return EX_OK;
+	printf("tileX,tileY,createTime,modifyCount,modifyTime,accessCount,accessTime\n");
+	for (int i = 0;; ++i) {
+		struct Tile tile;
+		size_t count = fread(&tile, sizeof(tile), 1, stdin);
+		if (ferror(stdin)) err(EX_IOERR, "(stdin)");
+		if (!count) return EX_OK;
 
-        printf(
-            "%d,%d,%ld,%u,%ld,%u,%ld\n",
-            i % TILE_COLS,
-            i / TILE_COLS,
-            tile.createTime,
-            tile.modifyCount,
-            tile.modifyTime,
-            tile.accessCount,
-            tile.accessTime
-        );
-    }
+		printf(
+			"%d,%d,%ld,%u,%ld,%u,%ld\n",
+			i % TILE_COLS,
+			i / TILE_COLS,
+			tile.createTime,
+			tile.modifyCount,
+			tile.modifyTime,
+			tile.accessCount,
+			tile.accessTime
+		);
+	}
 }