From 96e44f89505b2e9fe7425c180bec89e0f28888dd Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 17 Aug 2014 00:44:05 +1000 Subject: [PATCH] Print dht-ping reponses with %q --- cmd/dht-ping/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dht-ping/main.go b/cmd/dht-ping/main.go index 9e43f798..6c686492 100644 --- a/cmd/dht-ping/main.go +++ b/cmd/dht-ping/main.go @@ -53,6 +53,6 @@ func main() { }(netloc) } for _ = range pingStrAddrs { - log.Print(<-pingResponses) + log.Printf("%q", <-pingResponses) } }