ing
This commit is contained in:
parent
9057f35053
commit
98d51353d3
|
@ -21,7 +21,7 @@ func newClientCodecResponse(raw json.RawMessage) (protocol.ClientCodecResponse,
|
||||||
releaseClientCodecResponse(ccr)
|
releaseClientCodecResponse(ccr)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if 0 == ccr.response.ID {
|
if nil == ccr.response.ID {
|
||||||
releaseClientCodecResponse(ccr)
|
releaseClientCodecResponse(ccr)
|
||||||
return nil, fmt.Errorf("This is not Response")
|
return nil, fmt.Errorf("This is not Response")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user