Skip to content

Commit

Permalink
Reformat source code
Browse files Browse the repository at this point in the history
The new check target caught a misformatted file.
  • Loading branch information
flimberger committed Mar 9, 2023
1 parent 898eb88 commit 327bb0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gojail.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewIPParam(value string) (JailParam, error) {
}

var nameb []byte
var buf []byte
var buf []byte
if ip4 := ip.To4(); ip4 != nil {
nameb = byteSliceFromStringOrDie("ip4.addr")
buf = ip4
Expand All @@ -150,7 +150,7 @@ func (je *JailErr) Error() string {
}

// Error returned by GetId and GetName if the specified jail does not exist.
var NoJail error = &JailErr{ errmsg: "No such jail" }
var NoJail error = &JailErr{errmsg: "No such jail"}

func makeJailErr(errmsg []byte) error {
return &JailErr{
Expand Down

0 comments on commit 327bb0c

Please sign in to comment.