diff options
Diffstat (limited to 'examples/modify.go')
-rw-r--r-- | examples/modify.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modify.go b/examples/modify.go index 87d1119..74296b4 100644 --- a/examples/modify.go +++ b/examples/modify.go @@ -23,7 +23,7 @@ var ( Filter string = "(cn=kirkj)" ) -func search(l *ldap.Conn, filter string, attributes []string) (*ldap.Entry, *ldap.Error) { +func search(l *ldap.Conn, filter string, attributes []string) (*ldap.Entry, error) { search := ldap.NewSearchRequest( BaseDN, ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false, |