summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-24 12:38:31 +0100
committerdefault <nobody@localhost>2022-11-24 12:38:31 +0100
commit177c362425f83360c63ca361def3267ff98baebf (patch)
tree36dcb619d2628cd53cfed24e9c1510a2110383f5 /data.c
parent2176a91c64fa8ad8a79c74bbd5a38f2934c49dbe (diff)
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)
int object_get_by_md5(const char *md5, d_char **obj, const char *type)
-/* returns a loaded object, optionally of the requested type */
+/* returns a stored object, optionally of the requested type */
{
int status = 404;
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)
int object_get(const char *id, d_char **obj, const char *type)
-/* returns a loaded object, optionally of the requested type */
+/* returns a stored object, optionally of the requested type */
{
xs *md5 = xs_md5_hex(id, strlen(id));
@@ -954,7 +954,7 @@ int following_add(snac *snac, char *actor, char *msg)
int following_del(snac *snac, char *actor)
-/* someone is no longer following us */
+/* we're not following this actor any longer */
{
xs *fn = _following_fn(snac, actor);
@@ -967,7 +967,7 @@ int following_del(snac *snac, char *actor)
int following_check(snac *snac, char *actor)
-/* checks if someone is following us */
+/* checks if we are following this actor */
{
xs *fn = _following_fn(snac, actor);