snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 177c362425f83360c63ca361def3267ff98baebf
parent 2176a91c64fa8ad8a79c74bbd5a38f2934c49dbe
Author: default <nobody@localhost>
Date:   Thu, 24 Nov 2022 12:38:31 +0100

Fixed some source comments.

Diffstat:
Mdata.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 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);