mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Deactivated stale actors behind a compiler directive.
This commit is contained in:
parent
45338776e9
commit
80c31a2e01
1 changed files with 2 additions and 0 deletions
2
data.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue