summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/data.c b/data.c
index 72bb3ac..878a2c5 100644
--- a/data.c
+++ b/data.c
@@ -686,13 +686,14 @@ int actor_get(snac *snac, char *actor, d_char **data)
if (t + max_time < (float) time(NULL)) {
/* actor data exists but also stinks */
- status = 202;
if ((f = fopen(fn, "a")) != NULL) {
/* write a blank at the end to 'touch' the file */
fwrite(" ", 1, 1, f);
fclose(f);
}
+
+ status = 110; /* "Response Is Stale" */
}
else {
/* it's still valid */