mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Fix arguments in callto xs_fmt
Without this, db_upgrade segfaults.
This commit is contained in:
parent
4b6e1df907
commit
5b1d2bebe9
1 changed files with 1 additions and 1 deletions
2
data.c
2
data.c
|
@ -706,7 +706,7 @@ int follower_add(snac *snac, const char *actor)
|
||||||
{
|
{
|
||||||
int ret = object_user_cache_add(snac, actor, "followers");
|
int ret = object_user_cache_add(snac, actor, "followers");
|
||||||
|
|
||||||
snac_debug(snac, 2, xs_fmt("follower_add %s %s", actor));
|
snac_debug(snac, 2, xs_fmt("follower_add %s", actor));
|
||||||
|
|
||||||
return ret == -1 ? 500 : 200;
|
return ret == -1 ? 500 : 200;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue