summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-21 14:12:15 +0200
committerdefault <nobody@localhost>2024-05-21 14:12:15 +0200
commit4777fc86cb962917a8f34afb3bfa40f26290815d (patch)
tree268c078531a018f07c1b6d029f14f87134805f7b /main.c
parentb95fbe4e438a2ab8a8625875e2eedac38dae572f (diff)
Added const everywhere.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 819922f..9c906a6 100644
--- a/main.c
+++ b/main.c
@@ -315,7 +315,7 @@ int main(int argc, char *argv[])
xs *msg = msg_follow(&snac, url);
if (msg != NULL) {
- char *actor = xs_dict_get(msg, "object");
+ const char *actor = xs_dict_get(msg, "object");
following_add(&snac, actor, msg);