From a7633d8abacca783e8b9640d3739ca3334ab9716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 4 Mar 2019 17:59:15 +0100 Subject: Change vendor attribute from HH to HNH. --- graphs.c | 2 +- main.c | 4 ++-- parse.c | 2 +- vcal.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/graphs.c b/graphs.c index 945821d7..4f1692ee 100644 --- a/graphs.c +++ b/graphs.c @@ -19,7 +19,7 @@ int create_graph_trie (vcomponent* ev, char* filename) { fclose(f); - INFO_F("Wrote '%s' to '%s'", vcomponent_get_val(ev, "X-HH-FILENAME"), filename); + INFO_F("Wrote '%s' to '%s'", vcomponent_get_val(ev, "X-HNH-FILENAME"), filename); return 0; } diff --git a/main.c b/main.c index 6cfeab75..771535fe 100644 --- a/main.c +++ b/main.c @@ -48,7 +48,7 @@ int main (int argc, char** argv) { vcomponent* cal = GET(VECT(vcomponent))(&root.components, i); assert(strcmp(cal->type, "VCALENDAR") == 0); - char* filename = vcomponent_get_val(cal, "X-HH-FILENAME"); + char* filename = vcomponent_get_val(cal, "X-HNH-FILENAME"); /* This loop over all VEVENT's in the current VCALENDAR */ for (size_t j = 0; j < cal->components.length; j++) { @@ -74,7 +74,7 @@ int main (int argc, char** argv) { char target[0xFF]; target[0] = '\0'; strcat(target, "/tmp/dot/"); - strcat(target, vcomponent_get_val(ev, "X-HH-FILENAME")); + strcat(target, vcomponent_get_val(ev, "X-HNH-FILENAME")); strcat(target, ".dot"); // create_graph(ev, target); } diff --git a/parse.c b/parse.c index 97e63305..702d7d9a 100644 --- a/parse.c +++ b/parse.c @@ -200,7 +200,7 @@ int handle_kv ( CLINE_CUR_VAL(cline)->mem, vcomponent_get_val( PEEK(LLIST(vcomponent))(&ctx->comp_stack), - "X-HH-FILENAME")); + "X-HNH-FILENAME")); PUSH(LLIST(strbuf))(&ctx->key_stack, expected_key); return -1; diff --git a/vcal.c b/vcal.c index e93750ee..2c3ef7e1 100644 --- a/vcal.c +++ b/vcal.c @@ -45,7 +45,7 @@ INIT_F(vcomponent, const char* type, const char* filename) { INIT(VECT(vcomponent), &self->components); if (filename != NULL) { - vcomponent_push_val (self, "X-HH-FILENAME", filename); + vcomponent_push_val (self, "X-HNH-FILENAME", filename); } self->type = (char*) calloc(sizeof(*type), strlen(type) + 1); -- cgit v1.2.3