summaryrefslogtreecommitdiffstats
path: root/filter.go
diff options
context:
space:
mode:
authorSamuel Stauffer <samuel@descolada.com>2014-03-19 21:57:32 +0100
committerSamuel Stauffer <samuel@descolada.com>2014-03-19 21:57:59 +0100
commit222854694e922344f18910ce3704115d08ca30cb (patch)
tree62d54db042f04993a4f89b780f0afb02b9a67e18 /filter.go
parentconnection handling (diff)
downloadldap-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 '')
-rw-r--r--filter.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/filter.go b/filter.go
index 2c75dc6..9564fd4 100644
--- a/filter.go
+++ b/filter.go
@@ -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
}