aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/ulreq_decode.go
diff options
context:
space:
mode:
authorOleg Kovalov <iamolegkovalov@gmail.com>2020-07-06 16:50:56 +0200
committerOleg Kovalov <iamolegkovalov@gmail.com>2020-07-06 16:50:56 +0200
commitd07f2fbd7f615707c5f8b4bde32d5824c4196411 (patch)
tree471dd4e02088750aeb4adfab85a3c74b5052c1fc /plumbing/protocol/packp/ulreq_decode.go
parenta9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff)
downloadgo-git-d07f2fbd7f615707c5f8b4bde32d5824c4196411.tar.gz
Use only one name for receiver
Diffstat (limited to 'plumbing/protocol/packp/ulreq_decode.go')
-rw-r--r--plumbing/protocol/packp/ulreq_decode.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/ulreq_decode.go b/plumbing/protocol/packp/ulreq_decode.go
index 449b729..895a3bf 100644
--- a/plumbing/protocol/packp/ulreq_decode.go
+++ b/plumbing/protocol/packp/ulreq_decode.go
@@ -14,9 +14,9 @@ import (
// Decode reads the next upload-request form its input and
// stores it in the UploadRequest.
-func (u *UploadRequest) Decode(r io.Reader) error {
+func (req *UploadRequest) Decode(r io.Reader) error {
d := newUlReqDecoder(r)
- return d.Decode(u)
+ return d.Decode(req)
}
type ulReqDecoder struct {