aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 857c8ca..4e92798 100644
--- a/main.go
+++ b/main.go
@@ -79,7 +79,7 @@ func recv() error {
// Read data.
n, err := io.Copy(os.Stdout, plaintext)
- util.Logf("received %.2f", units.Bytes(n)*units.B)
+ util.Logf("received %#.2f", units.Bytes(n)*units.B)
return err
}
@@ -155,7 +155,7 @@ func send(rHostName string) error {
// Send data.
n, err := io.Copy(plaintext, os.Stdin)
- util.Logf("sent %.2f", units.Bytes(n)*units.B)
+ util.Logf("sent %#.2f", units.Bytes(n)*units.B)
return err
}