aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
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);
}