mirror of
https://git.phreedom.club/localhost_frssoft/compy.git
synced 2024-11-05 16:03:19 +00:00
Simplify for loop
This commit is contained in:
parent
cac3b84a5d
commit
569bb06e52
2
compy.go
2
compy.go
|
@ -69,7 +69,7 @@ func main() {
|
|||
c := make(chan os.Signal, 2)
|
||||
signal.Notify(c, os.Interrupt)
|
||||
go func() {
|
||||
for _ = range c {
|
||||
for range c {
|
||||
read := atomic.LoadUint64(&p.ReadCount)
|
||||
written := atomic.LoadUint64(&p.WriteCount)
|
||||
log.Printf("compy exiting, total transcoded: %d -> %d (%3.1f%%)",
|
||||
|
|
Loading…
Reference in a new issue