Commit 2fb4edd3 authored by Ian Lance Taylor's avatar Ian Lance Taylor

Correct zoneinfo version number: it's not 2, it's '2'.

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=16032
CL=16040
parent 9f3d600b
......@@ -90,7 +90,7 @@ func ParseZoneinfo(bytes *[]byte) (zt *[]Zonetime, err *os.Error) {
// 1-byte version, then 15 bytes of padding
var p *[]byte
if p = data.Read(16); p == nil || p[0] != 0 && p[0] != 2 {
if p = data.Read(16); p == nil || p[0] != 0 && p[0] != '2' {
return nil, BadZoneinfo
}
vers := p[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment