aboutsummaryrefslogtreecommitdiffstats
path: root/cshared/file_cshared.go
diff options
context:
space:
mode:
Diffstat (limited to 'cshared/file_cshared.go')
-rw-r--r--cshared/file_cshared.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cshared/file_cshared.go b/cshared/file_cshared.go
index 2a6678a..8191289 100644
--- a/cshared/file_cshared.go
+++ b/cshared/file_cshared.go
@@ -72,7 +72,7 @@ func c_File_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())