diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-08-12 10:47:51 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-08-12 10:47:51 -0600 |
commit | 7d3cbefde656d5520067d56eeb44a8ba1f39d672 (patch) | |
tree | f8c12c0cc911cf24743798bbda6f3910f176db1a /gemini/response.go | |
parent | 23bc5f4fb7542e64c94eaa7fe2c7a6aa55010898 (diff) |
multi-protocol client
Fixes #4
Diffstat (limited to 'gemini/response.go')
-rw-r--r-- | gemini/response.go | 2 |
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 ( |