aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/objects_cshared.go
diff options
context:
space:
mode:
Diffstat (limited to 'cshared/objects_cshared.go')
-rw-r--r--cshared/objects_cshared.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cshared/objects_cshared.go b/cshared/objects_cshared.go
index 17b2e1b..2600555 100644
--- a/cshared/objects_cshared.go
+++ b/cshared/objects_cshared.go
@@ -90,7 +90,7 @@ func c_Blob_Read(b uint64) (int, *C.char) {
if err != nil {
return ErrorCodeInternal, C.CString(err.Error())
}
- data, err := ioutil.ReadAll(reader)
+ data, err := ioutil.ReadAll(reader)
reader.Close()
if err != nil {
return ErrorCodeInternal, C.CString(err.Error())
@@ -106,4 +106,4 @@ func c_Blob_Type(c uint64) int8 {
}
blob := obj.(*git.Blob)
return int8(blob.Type())
-} \ No newline at end of file
+}