This commit is contained in:
crusader 2017-11-23 18:14:05 +09:00
parent 9057f35053
commit 98d51353d3

View File

@ -21,7 +21,7 @@ func newClientCodecResponse(raw json.RawMessage) (protocol.ClientCodecResponse,
releaseClientCodecResponse(ccr)
return nil, err
}
if 0 == ccr.response.ID {
if nil == ccr.response.ID {
releaseClientCodecResponse(ccr)
return nil, fmt.Errorf("This is not Response")
}