summaryrefslogtreecommitdiffstats
path: root/filter.go
diff options
context:
space:
mode:
Diffstat (limited to 'filter.go')
-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
}