Merged in ts-repair-repair (pull request #139)

exp: fix build

Approved-by: Saxon Milton <saxon.milton@gmail.com>
This commit is contained in:
kortschak 2019-02-10 23:08:40 +00:00
commit dfb282cd25
4 changed files with 3 additions and 4 deletions

View File

@ -13,6 +13,8 @@ jobs:
steps:
- checkout
- run: git clone --depth=1 https://bitbucket.org/ausocean/test.git ${GOPATH}/src/bitbucket.org/ausocean/test
- restore_cache:
keys:
- v1-pkg-cache

View File

@ -209,10 +209,7 @@ func main() {
packetNo++
// Get the pid from the packet
pid, err := packet.Pid((*packet.Packet)(&p))
if err != nil {
panic(errCantGetPid)
}
pid := packet.Pid((*packet.Packet)(&p))
// Get the cc from the packet and also the expected cc (if exists)
cc := p.CC()