aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-08-18 18:44:29 +0200
committergrunfink <grunfink@comam.es>2026-08-18 18:44:29 +0200
commited9571af3b970a624f22e5158616d1dde545beb4 (patch)
tree5c1cfb8bb836dfc8e7bf4be3f5b5773a982e3f5a
parent52adad8882d1504e8a8422ddb128b4976b853113 (diff)
Moved proxy status change after the log message.
-rw-r--r--html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/html.c b/html.c
index ee68327..a93435e 100644
--- a/html.c
+++ b/html.c
@@ -5328,11 +5328,11 @@ int html_get_handler(const xs_dict *req, const char *q_path,
}
}
}
- else
- if (status >= 400 && status <= 499)
- status = HTTP_STATUS_NOT_FOUND;
snac_debug(&snac, 1, xs_fmt("Proxy for %s %d", url, status));
+
+ if (status >= 400 && status <= 499)
+ status = HTTP_STATUS_NOT_FOUND;
}
}
else