aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-09-30 12:28:00 -0400
committerSam Anthony <sam@samanthony.xyz>2025-09-30 12:34:09 -0400
commitd7cb125cd809768a960423782300f31274d8aa65 (patch)
treef4ef17500b1a023a313712f1b02b97084be4b02b
parente0693f238f47708399591de656ec9fb731441692 (diff)
downloadhose-d7cb125cd809768a960423782300f31274d8aa65.zip
kB->kiBv0.2.1
-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
}