diff options
author | Samuel Stauffer <samuel@descolada.com> | 2014-03-19 21:57:32 +0100 |
---|---|---|
committer | Samuel Stauffer <samuel@descolada.com> | 2014-03-19 21:57:59 +0100 |
commit | 222854694e922344f18910ce3704115d08ca30cb (patch) | |
tree | 62d54db042f04993a4f89b780f0afb02b9a67e18 /filter.go | |
parent | connection handling (diff) | |
download | ldap-222854694e922344f18910ce3704115d08ca30cb.tar ldap-222854694e922344f18910ce3704115d08ca30cb.tar.gz ldap-222854694e922344f18910ce3704115d08ca30cb.tar.bz2 ldap-222854694e922344f18910ce3704115d08ca30cb.tar.lz ldap-222854694e922344f18910ce3704115d08ca30cb.tar.xz ldap-222854694e922344f18910ce3704115d08ca30cb.tar.zst ldap-222854694e922344f18910ce3704115d08ca30cb.zip |
Diffstat (limited to 'filter.go')
-rw-r--r-- | filter.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// File contains a filter compiler/decompiler package ldap import ( "errors" "fmt" - "github.com/marcsauter/asn1-ber" + + "github.com/SpruceHealth/asn1-ber" ) const ( @@ -245,6 +245,4 @@ func compileFilter(filter string, pos int) (*ber.Packet, int, *Error) { newPos++ return packet, newPos, err } - err = NewError(ErrorFilterCompile, errors.New("Reached end of filter without closing parens")) - return packet, newPos, err } |