diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-23 21:09:30 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-23 21:09:30 +0100 |
commit | 1b71eb8175de976045406035420f62c79a2fc91e (patch) | |
tree | a3c5bcd98b50628fbb7ca735bf810f5c30900e3a /main.c | |
parent | Even more work. (diff) | |
download | calp-1b71eb8175de976045406035420f62c79a2fc91e.tar.gz calp-1b71eb8175de976045406035420f62c79a2fc91e.tar.xz |
Vill inte.
Diffstat (limited to '')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |