snac2

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

commit 8f17e80cc1163db360c8cf0326c34164e7604cea
parent 78b3a304479ac3063bf75d41ed25539ed474763d
Author: default <nobody@localhost>
Date:   Tue, 25 Oct 2022 18:44:29 +0200

Fixed another bug in actor_get().

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

diff --git a/data.c b/data.c @@ -779,6 +779,13 @@ int actor_get(snac *snac, char *actor, d_char **data) int status; FILE *f; + if (strcmp(actor, snac->actor) == 0) { + if (data) + *data = msg_actor(snac); + + return 200; + } + t = mtime(fn); /* no mtime? there is nothing here */