mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 13:32:07 -07:00
Revert "Minor refactors using golint"
This commit is contained in:
parent
9196be7a8b
commit
5328ced392
21 changed files with 101 additions and 70 deletions
|
@ -217,8 +217,9 @@ func (q *Queue) Send(raw []byte) error {
|
|||
if err := q.handle.WritePacketData(raw); err != nil {
|
||||
q.TrackError()
|
||||
return err
|
||||
} else {
|
||||
q.TrackSent(uint64(len(raw)))
|
||||
}
|
||||
q.TrackSent(uint64(len(raw)))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue