diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-26 23:58:22 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-26 23:58:22 -0600 |
commit | c8ba46c9f9afb482052e018a0ed5c1c67b896c57 (patch) | |
tree | 877db8d318b7a2ccf5ef22795f20006fa7c612e9 /src/nslcd_proto/util.go | |
parent | 4ab446ed2a12e4f8b599f5912b9d4aabf20e2975 (diff) |
wip
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 { |