Projects STRLCPY csprecon Commits 10be3a9f
🤬
  • ■ ■ ■ ■ ■
    pkg/csprecon/csprecon.go
    skipped 125 lines
    126 126   if !r.Result.Printed(o) {
    127 127   r.OutWg.Add(1)
    128 128   
    129  - go writeOutput(r.OutWg, &r.Options, &r.Result, o)
     129 + go writeOutput(r.OutWg, &r.Options, o)
    130 130   }
    131 131   }
    132 132  }
    133 133   
    134  -func writeOutput(wg *sync.WaitGroup, options *input.Options, out *output.Result, o string) {
     134 +func writeOutput(wg *sync.WaitGroup, options *input.Options, o string) {
    135 135   defer wg.Done()
    136 136   
    137 137   if options.FileOutput != "" && options.Output == nil {
    skipped 12 lines
    150 150   }
    151 151   
    152 152   fmt.Println(o)
    153  - 
    154 153  }
    155 154   
  • ■ ■ ■ ■ ■
    pkg/output/output.go
    skipped 22 lines
    23 23   o.Mutex.Lock()
    24 24   o.Map[result] = struct{}{}
    25 25   o.Mutex.Unlock()
     26 + 
    26 27   return false
    27 28   } else {
    28 29   o.Mutex.RUnlock()
    skipped 5 lines
Please wait...
Page is in error, reload to recover