aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-10 08:34:48 +0100
committerdefault <nobody@localhost>2025-01-10 08:34:48 +0100
commitef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d (patch)
tree0dcd14b6e39a63f1ba937caab241587cc99c0d4e
parent538f6970f86323dca734436861fe19193fae87e5 (diff)
Fixed crash in msg_place() because I'm a moron.
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 3bd6220..4966482 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1187,7 +1187,7 @@ xs_dict *msg_repulsion(snac *user, const char *id, const char *type)
xs_dict *msg_place(snac *user, const char *label)
/* creates a Place object, if the user has a location defined */
{
- xs *place = NULL;
+ xs_dict *place = NULL;
const char *latitude = xs_dict_get_def(user->config, "latitude", "");
const char *longitude = xs_dict_get_def(user->config, "longitude", "");