]> Cypherpunks repositories - gostls13.git/commit
net/http: remove always true comparison
authorTodd Neal <todd@tneal.org>
Tue, 25 Aug 2015 23:44:30 +0000 (18:44 -0500)
committerTodd Neal <todd@tneal.org>
Wed, 26 Aug 2015 04:55:58 +0000 (04:55 +0000)
commitc1aee8c825c2179ad4959ebf533bf27c4b774d00
treee711edd32a44f4dd33ead827a1a2deaeb4dc7916
parentcba1528ceb0a386e889d0dfbf549c8055ff10018
net/http: remove always true comparison

byte is unsigned so the comparison against zero is always true.

Change-Id: I8fa60245972be362ae920507a291f92c0f9831ad
Reviewed-on: https://go-review.googlesource.com/13941
Run-TryBot: Todd Neal <todd@tneal.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/sniff.go