aboutsummaryrefslogtreecommitdiff
path: root/filter.go
diff options
context:
space:
mode:
authorSamuel Stauffer <[email protected]>2014-03-19 13:57:32 -0700
committerSamuel Stauffer <[email protected]>2014-03-19 13:57:59 -0700
commit222854694e922344f18910ce3704115d08ca30cb (patch)
tree62d54db042f04993a4f89b780f0afb02b9a67e18 /filter.go
parent3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e (diff)
Stylistic fixes, update imports, and some format string fixes
Diffstat (limited to 'filter.go')
-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
}