summaryrefslogtreecommitdiff
path: root/gemini/response.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-08-12 10:47:51 -0600
committertjpcc <tjp@ctrl-c.club>2023-08-12 10:47:51 -0600
commit7d3cbefde656d5520067d56eeb44a8ba1f39d672 (patch)
treef8c12c0cc911cf24743798bbda6f3910f176db1a /gemini/response.go
parent23bc5f4fb7542e64c94eaa7fe2c7a6aa55010898 (diff)
multi-protocol client
Fixes #4
Diffstat (limited to 'gemini/response.go')
-rw-r--r--gemini/response.go2
1 files changed, 1 insertions, 1 deletions
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 (