summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-02-07 18:23:43 +0100
committerdefault <nobody@localhost>2024-02-07 18:23:43 +0100
commit80c31a2e015e778e6929116e752fa5dce0da85f3 (patch)
treeb3c3e2bf7b1b4a6bd5d2f95cf25eb4604d99b14a /data.c
parent45338776e97bf4e8f1623f39a66b303277d5e694 (diff)
Deactivated stale actors behind a compiler directive.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/data.c b/data.c
index 642dab4..763eca3 100644
--- 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;
}