Fix arguments in callto xs_fmt

Without this, db_upgrade segfaults.
This commit is contained in:
Alex Schroeder 2022-12-04 10:23:48 +01:00
parent 4b6e1df907
commit 5b1d2bebe9

2
data.c
View file

@ -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;
} }