From b80a7aa06d51961c2505f4671fec4a879a61d098 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 3 Nov 2017 16:46:45 +0900 Subject: [PATCH] ing --- protocol/json/client_response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/json/client_response.go b/protocol/json/client_response.go index 4d4a3cd..969a120 100644 --- a/protocol/json/client_response.go +++ b/protocol/json/client_response.go @@ -49,7 +49,7 @@ func (ccr *ClientCodecResponse) ID() interface{} { func (ccr *ClientCodecResponse) Result(result interface{}) error { if ccr.err == nil && ccr.response.Result != nil { - if err := json.Unmarshal(*ccr.response.Result, result); err != nil { + if err := json.Unmarshal(*ccr.response.Result, &result); err != nil { params := [1]interface{}{result} if err = json.Unmarshal(*ccr.response.Result, ¶ms); err != nil { ccr.err = err