summaryrefslogtreecommitdiffstats
path: root/bind.go
diff options
context:
space:
mode:
Diffstat (limited to 'bind.go')
-rw-r--r--bind.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bind.go b/bind.go
index 7ef6802..742d90b 100644
--- a/bind.go
+++ b/bind.go
@@ -30,13 +30,13 @@ func (l *Conn) Bind(username, password string) *Error {
return err
}
if channel == nil {
- return NewError(ErrorNetwork, errors.New("Could not send message"))
+ return NewError(ErrorNetwork, errors.New("ldap: could not send message"))
}
defer l.finishMessage(messageID)
packet = <-channel
if packet == nil {
- return NewError(ErrorNetwork, errors.New("Could not retrieve response"))
+ return NewError(ErrorNetwork, errors.New("ldap: could not retrieve response"))
}
if l.Debug {