We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98105e8 commit a7c5a1dCopy full SHA for a7c5a1d
1 file changed
api.go
@@ -96,8 +96,8 @@ func HandleRequest(conn net.Conn) {
96
fmt.Fprintf(conn, "400 Bad Request\r\n")
97
return
98
}
99
- // tone が 0 から 12 でない場合
100
- if tone < 0 || tone > 15 {
+ // tone が 0 から 99 でない場合
+ if tone < 0 || tone > 99 {
101
fmt.Fprintf(conn, "HTTP/1.1 400 Bad Request\r\n")
102
fmt.Fprintf(conn, "Content-Type: text/plain; charset=utf-8\r\n\r\n")
103
0 commit comments