summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-14 20:11:03 +0200
committerdefault <nobody@localhost>2023-08-14 20:11:03 +0200
commit2bea378610c6402f201a9b01b9d22c19ceb2a215 (patch)
tree31f97e048d0b52904baee52a2142d481b38c281e /data.c
parent8f09e4cb78c92b65951ecc9f556e07a8467b9dcc (diff)
mastoapi: Some tweaks to process posts with 'name' and 'image' fields.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 73192ba..c2d69c8 100644
--- a/data.c
+++ b/data.c
@@ -591,7 +591,7 @@ int object_get_by_md5(const char *md5, xs_dict **obj)
/* returns a stored object, optionally of the requested type */
{
int status = 404;
- xs *fn = _object_fn_by_md5(md5, "object_get_my_md5");
+ xs *fn = _object_fn_by_md5(md5, "object_get_by_md5");
FILE *f;
if ((f = fopen(fn, "r")) != NULL) {