mirror of https://bitbucket.org/ausocean/av.git
ran go fmt on everything
This commit is contained in:
parent
e3f5c14562
commit
cad9078c17
|
@ -40,8 +40,8 @@ import (
|
|||
"os"
|
||||
"os/exec"
|
||||
"strconv"
|
||||
"time"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"bitbucket.org/ausocean/av/generator"
|
||||
"bitbucket.org/ausocean/av/parser"
|
||||
|
@ -357,7 +357,8 @@ func (r *revidInst) outputClips() {
|
|||
r.Log(Debug, fmt.Sprintf("Ring buffer size: %v\n", r.ringBuffer.GetNoOfElements()))
|
||||
// Output clip to the output specified in the configuration struct
|
||||
bytes += len(clip)
|
||||
for errorCount := 0, err := r.sendClip(clip); err != nil; errorCount++ {
|
||||
errorCount := 0
|
||||
for err := r.sendClip(clip); err != nil; errorCount++ {
|
||||
if len(clip) >= 11 {
|
||||
r.Log(Warning, "Send failed trying again!")
|
||||
err = r.sendClip(clip)
|
||||
|
|
Loading…
Reference in New Issue