diff options
Diffstat (limited to 'src/nslcd_proto/util.go')
-rw-r--r-- | src/nslcd_proto/util.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nslcd_proto/util.go b/src/nslcd_proto/util.go index 1f38c8e..de00445 100644 --- a/src/nslcd_proto/util.go +++ b/src/nslcd_proto/util.go @@ -1,9 +1,6 @@ package nslcd_proto -import ( - "io" - "syscall" -) +import "io" type NslcdError string @@ -43,7 +40,7 @@ func Read(fd io.Reader, data interface{}) (err error) { return } -func HandleRequest(backend Backend, in io.Reader, out io.Writer, cred syscall.Ucred) (err error) { +func HandleRequest(backend Backend, in io.Reader, out io.Writer, cred Ucred) (err error) { err = nil defer func() { if r := recover(); r != nil { |