From 2a27eca7b78dd6d84608c038a945d0c1e3658b7c Mon Sep 17 00:00:00 2001 From: Xing Xing Date: Fri, 30 Aug 2013 11:47:53 +0800 Subject: [PATCH] fixed building package issue --- client/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/request.go b/client/request.go index 9939a5f..485eecc 100644 --- a/client/request.go +++ b/client/request.go @@ -42,6 +42,6 @@ func getJob(id string, funcname, data []byte) (req *request) { req.Data = getBuffer(l) copy(req.Data[0:a], funcname) copy(req.Data[a+1:a+b+1], []byte(id)) - copy(req.Data[a+b+1:a+b+c+1], data) + copy(req.Data[a+b+2:], data) return }