From 7d3cbefde656d5520067d56eeb44a8ba1f39d672 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 12 Aug 2023 10:47:51 -0600 Subject: multi-protocol client Fixes #4 --- gemini/response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gemini/response.go') diff --git a/gemini/response.go b/gemini/response.go index 13f493a..b3e53aa 100644 --- a/gemini/response.go +++ b/gemini/response.go @@ -44,7 +44,7 @@ const ( ) func ResponseCategoryForStatus(status types.Status) ResponseCategory { - return ResponseCategory(status / 10) + return ResponseCategory((status / 10) * 10) } const ( -- cgit v1.2.3