diff --git a/server/stats.go b/server/stats.go index 51b2f7e..204e587 100644 --- a/server/stats.go +++ b/server/stats.go @@ -32,7 +32,7 @@ func statsThread() { numConnections += 1 case <-deadline: now := time.Now() - log.Printf("in the past %.g s, %d/%d connections had client_ip", + log.Printf("in the past %.f s, %d/%d connections had client_ip", (now.Sub(prevTime)).Seconds(), numClientIP, numConnections) numClientIP = 0