diff options
-rw-r--r-- | graphs.c | 2 | ||||
-rw-r--r-- | main.c | 4 | ||||
-rw-r--r-- | parse.c | 2 | ||||
-rw-r--r-- | vcal.c | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -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; } @@ -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); } @@ -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; @@ -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); |