Skip to content

Commit e701f2d

Browse files
committed
useragent: remove unnecessary check in isobstext
Change-Id: Ia1f39ed695fcbcea518104b4126d8f8a453e68d0
1 parent b81b7c8 commit e701f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

useragent/parse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,5 +307,5 @@ func isdelim(b byte) bool {
307307
}
308308

309309
func isobstext(b byte) bool {
310-
return 0x80 <= b && b <= 0xFF
310+
return 0x80 <= b // && b <= 0xFF, (which, is true always for bytes)
311311
}

0 commit comments

Comments
 (0)