Total wire data should always be uint64 (fixes #315)

This commit is contained in:
Jakob Borg committed 2014-06-01 21:56:05 +02:00
1 parent a0b15d006d
commit 2db76ae786
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -186,8 +186,8 @@ func (m *Model) ConnectionStats() map[string]ConnectionInfo {
res["total"] = ConnectionInfo{
Statistics: protocol.Statistics{
At: time.Now(),
InBytesTotal: int(in),
OutBytesTotal: int(out),
InBytesTotal: in,
OutBytesTotal: out,
},
}