From 4e3f3713c8f6debc9a2844af538094968142a714 Mon Sep 17 00:00:00 2001 From: Samuel Stauffer Date: Wed, 19 Mar 2014 14:05:10 -0700 Subject: Some more cleanup --- bind.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bind.go') 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 { -- cgit v1.2.3