summaryrefslogtreecommitdiffstats
path: root/filter.go
diff options
context:
space:
mode:
authorSamuel Stauffer <samuel@descolada.com>2014-03-19 22:13:11 +0100
committerSamuel Stauffer <samuel@descolada.com>2014-03-19 22:13:11 +0100
commit67312503d2a9166d5547734d36dcd5ecc70174cf (patch)
tree8bc3f16196d4a19f4bf062471090f9af69697024 /filter.go
parentRename DialSSL to DialTLS and remove DialTLS infavor of exporting StartTLS (diff)
downloadldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.gz
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.bz2
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.lz
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.xz
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.zst
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.zip
Diffstat (limited to '')
-rw-r--r--filter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.go b/filter.go
index 09d14dd..9d01d28 100644
--- a/filter.go
+++ b/filter.go
@@ -58,7 +58,7 @@ func CompileFilter(filter string) (*ber.Packet, *Error) {
return nil, err
}
if pos != len(filter) {
- return nil, NewError(ErrorFilterCompile, errors.New("ldap: finished compiling filter with extra at end.\n"+fmt.Sprint(filter[pos:])))
+ return nil, NewError(ErrorFilterCompile, errors.New("ldap: finished compiling filter with extra at end: "+fmt.Sprint(filter[pos:])))
}
return packet, nil
}