From 67312503d2a9166d5547734d36dcd5ecc70174cf Mon Sep 17 00:00:00 2001 From: Samuel Stauffer Date: Wed, 19 Mar 2014 14:13:11 -0700 Subject: Remove newlines from log messages --- filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter.go') 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 } -- cgit v1.2.3