Skip to content

Commit 497dea0

Browse files
committed
Removed commented code
1 parent e45938d commit 497dea0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

main.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,15 @@ func main() {
6767
})
6868
continue
6969
}
70-
// userAgent := matches[2]
71-
// reqProtocolVersion, err := strconv.ParseUint(matches[1], 10, 64)
72-
_, err := strconv.ParseUint(matches[1], 10, 64)
70+
_ /* userAgent */ = matches[2]
71+
_ /* reqProtocolVersion */, err := strconv.ParseUint(matches[1], 10, 64)
7372
if err != nil {
7473
output(&genericMessageJSON{
7574
EventType: "command_error",
7675
Error: true,
7776
Message: "Invalid protocol version: " + matches[2],
7877
})
7978
}
80-
// fmt.Println("User agent:", userAgent)
81-
// fmt.Println("Req. Protocol version:", reqProtocolVersion)
8279
output(&helloMessageJSON{
8380
EventType: "hello",
8481
ProtocolVersion: 1, // Protocol version 1 is the only supported for now...

0 commit comments

Comments
 (0)