summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2022-11-24 12:38:31 +0100
committerGravatar default2022-11-24 12:38:31 +0100
commit177c362425f83360c63ca361def3267ff98baebf (patch)
tree36dcb619d2628cd53cfed24e9c1510a2110383f5 /data.c
parentFixed hide() to store the object id, not its md5. (diff)
downloadsnac2-177c362425f83360c63ca361def3267ff98baebf.tar.gz
snac2-177c362425f83360c63ca361def3267ff98baebf.tar.xz
snac2-177c362425f83360c63ca361def3267ff98baebf.zip
Fixed some source comments.
Diffstat (limited to 'data.c')
-rw-r--r--data.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/data.c b/data.c
index ac4f263..f782d7f 100644
--- a/data.c
+++ b/data.c
@@ -337,7 +337,7 @@ d_char *_object_fn(const char *id)
337 337
338 338
339int object_get_by_md5(const char *md5, d_char **obj, const char *type) 339int object_get_by_md5(const char *md5, d_char **obj, const char *type)
340/* returns a loaded object, optionally of the requested type */ 340/* returns a stored object, optionally of the requested type */
341{ 341{
342 int status = 404; 342 int status = 404;
343 xs *fn = _object_fn_by_md5(md5); 343 xs *fn = _object_fn_by_md5(md5);
@@ -373,7 +373,7 @@ int object_get_by_md5(const char *md5, d_char **obj, const char *type)
373 373
374 374
375int object_get(const char *id, d_char **obj, const char *type) 375int object_get(const char *id, d_char **obj, const char *type)
376/* returns a loaded object, optionally of the requested type */ 376/* returns a stored object, optionally of the requested type */
377{ 377{
378 xs *md5 = xs_md5_hex(id, strlen(id)); 378 xs *md5 = xs_md5_hex(id, strlen(id));
379 379
@@ -954,7 +954,7 @@ int following_add(snac *snac, char *actor, char *msg)
954 954
955 955
956int following_del(snac *snac, char *actor) 956int following_del(snac *snac, char *actor)
957/* someone is no longer following us */ 957/* we're not following this actor any longer */
958{ 958{
959 xs *fn = _following_fn(snac, actor); 959 xs *fn = _following_fn(snac, actor);
960 960
@@ -967,7 +967,7 @@ int following_del(snac *snac, char *actor)
967 967
968 968
969int following_check(snac *snac, char *actor) 969int following_check(snac *snac, char *actor)
970/* checks if someone is following us */ 970/* checks if we are following this actor */
971{ 971{
972 xs *fn = _following_fn(snac, actor); 972 xs *fn = _following_fn(snac, actor);
973 973