aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/remote_cshared.go
diff options
context:
space:
mode:
Diffstat (limited to 'cshared/remote_cshared.go')
-rw-r--r--cshared/remote_cshared.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cshared/remote_cshared.go b/cshared/remote_cshared.go
index ee52e41..e7da87c 100644
--- a/cshared/remote_cshared.go
+++ b/cshared/remote_cshared.go
@@ -141,7 +141,7 @@ func c_Remote_Fetch(r uint64, req uint64) (uint64, int, *C.char) {
if !ok {
return IH, ErrorCodeNotFound, C.CString(MessageNotFound)
}
- request := obj.(*common.GitUploadPackRequest)
+ request := obj.(*common.UploadPackRequest)
reader, err := remote.Fetch(request)
if err != nil {
return IH, ErrorCodeInternal, C.CString(err.Error())