about summary refs log tree commit diff
path: root/htping.go
diff options
context:
space:
mode:
Diffstat (limited to 'htping.go')
-rw-r--r--htping.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/htping.go b/htping.go
index ca2ee34..6476752 100644
--- a/htping.go
+++ b/htping.go
@@ -76,7 +76,7 @@ func newTransport() *transport {
 		}
 
 	dialer := &net.Dialer{
-		Timeout:   5 * time.Second,
+		Timeout: 5 * time.Second,
 	}
 
 	tr.RoundTripper = &http.Transport{
@@ -162,7 +162,8 @@ func ping(url string, seq int, results chan result) {
 		t.addr,
 		res.Proto,
 		res.StatusCode,
-		seq, dur)
+		seq,
+		dur)
 
 	results <- result{dur, res.StatusCode}
 }