aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 80e01817..78e631e8 100644
--- a/main.c
+++ b/main.c
@@ -57,15 +57,15 @@ int main (int argc, char** argv) {
for (size_t j = 0; j < cal->components.length; j++) {
vcomponent* ev = cal->components[j];
- printf("component %s, [%u] children\n", ev->type, ev->components.length);
+ // printf("component %s, [%u] children\n", ev->type, ev->components.length);
if (strcmp(ev->type, "VEVENT") != 0) continue;
content_line* cl = get_property(ev, "SUMMARY");
strbuf* s = cl->data.cur->value->key;
+ char* m = s->mem;
printf("%3lu : %3lu | %s | %s\n",
i + 1, j + 1,
- filename,
- s->mem);
+ filename, m);
}
}
} else if (strcmp(args.argv[0], "-g") == 0) {