Skip to content

Commit 60b1263

Browse files
Fix bug of values.Dumpdata
1 parent 0886dc8 commit 60b1263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packet/values/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func (d *Dumpdata) String() string {
1616
if !d.dump {
1717
return ""
1818
}
19-
return d.reader.DumpString(0)
19+
return d.reader.DumpString(d.reader.Size() - d.reader.Rest())
2020
}
2121

2222
//Dump returns Dumpdata instance

0 commit comments

Comments
 (0)