commit 043cd5c50bf9b3029f240b816b222facefbce548
parent 4fca7c8a7ea2ee1373827c1e4d3726c8e763e2cc
Author: default <nobody@localhost>
Date: Sun, 23 Apr 2023 08:59:14 +0200
Fixed warning.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/data.c b/data.c
@@ -1103,7 +1103,7 @@ int following_add(snac *snac, const char *actor, const xs_dict *msg)
}
-int following_del(snac *snac, char *actor)
+int following_del(snac *snac, const char *actor)
/* we're not following this actor any longer */
{
xs *fn = _following_fn(snac, actor);
diff --git a/snac.h b/snac.h
@@ -113,7 +113,7 @@ xs_list *timeline_top_level(snac *snac, xs_list *list);
d_char *local_list(snac *snac, int max);
int following_add(snac *snac, const char *actor, const xs_dict *msg);
-int following_del(snac *snac, char *actor);
+int following_del(snac *snac, const char *actor);
int following_check(snac *snac, const char *actor);
int following_get(snac *snac, const char *actor, d_char **data);
d_char *following_list(snac *snac);