aboutsummaryrefslogtreecommitdiff
path: root/ldapserver/packet.go
diff options
context:
space:
mode:
Diffstat (limited to 'ldapserver/packet.go')
-rw-r--r--ldapserver/packet.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldapserver/packet.go b/ldapserver/packet.go
index 77b4926..a60a44a 100644
--- a/ldapserver/packet.go
+++ b/ldapserver/packet.go
@@ -5,7 +5,7 @@ import (
"errors"
"fmt"
- ldap "github.com/lor00x/goldap/message"
+ ldap "bottin/goldap"
)
type messagePacket struct {
@@ -141,6 +141,7 @@ func readBytes(conn *bufio.Reader, bytes *[]byte, length int) (b byte, err error
if n != length {
fmt.Errorf("%d bytes read instead of %d", n, length)
} else if err != nil {
+ fmt.Println("ooopsie an error occured here:", err)
return
}
*bytes = append(*bytes, newbytes...)