snac2

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

commit 80c31a2e015e778e6929116e752fa5dce0da85f3
parent 45338776e97bf4e8f1623f39a66b303277d5e694
Author: default <nobody@localhost>
Date:   Wed,  7 Feb 2024 18:23:43 +0100

Deactivated stale actors behind a compiler directive.

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

diff --git a/data.c b/data.c @@ -1533,6 +1533,7 @@ int actor_get(const char *actor, xs_dict **data) else d = xs_free(d); +#ifdef STALE_ACTORS xs *fn = _object_fn(actor); double max_time; @@ -1547,6 +1548,7 @@ int actor_get(const char *actor, xs_dict **data) status = 205; /* "205: Reset Content" "110: Response Is Stale" */ } +#endif /* STALE_ACTORS */ return status; }