agendafs

A filesystem for your calendar.

git clone git://mccd.space/agendafs
commit b5ac9e7457324cd4b80018b9c740e0a98c7d24dd
parent 29523d8017d6219f78f9fbcbfb05047c9ff7caef
Author: Marc Coquand <marc@coquand.email>
Date:   Mon, 28 Jul 2025 23:51:34 +0200

*

Diffstat:
Mmain.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
@@ -468,8 +468,8 @@ fuse_setxattr(const char *path, const char *key, const char *value, size_t s,
 
 		icalcomponent *ic = get_icalcomponent_from_node(mreg, node);
 
-		const char *key = key + 5;
-		icalcomponent_set_custom_x_value(mreg, ic, key, value);
+		const char *rkey = key + 5;
+		icalcomponent_set_custom_x_value(mreg, ic, rkey, value);
 		status = write_ical_file(mreg, node, ic);
 		goto cleanup_return;
 	}