summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2023-08-14 20:11:03 +0200
committerGravatar default2023-08-14 20:11:03 +0200
commit2bea378610c6402f201a9b01b9d22c19ceb2a215 (patch)
tree31f97e048d0b52904baee52a2142d481b38c281e /data.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-2bea378610c6402f201a9b01b9d22c19ceb2a215.tar.gz
snac2-2bea378610c6402f201a9b01b9d22c19ceb2a215.tar.xz
snac2-2bea378610c6402f201a9b01b9d22c19ceb2a215.zip
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)
591/* returns a stored object, optionally of the requested type */ 591/* returns a stored object, optionally of the requested type */
592{ 592{
593 int status = 404; 593 int status = 404;
594 xs *fn = _object_fn_by_md5(md5, "object_get_my_md5"); 594 xs *fn = _object_fn_by_md5(md5, "object_get_by_md5");
595 FILE *f; 595 FILE *f;
596 596
597 if ((f = fopen(fn, "r")) != NULL) { 597 if ((f = fopen(fn, "r")) != NULL) {