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 --- modify.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modify.go') diff --git a/modify.go b/modify.go index dad1179..8efbcfe 100644 --- a/modify.go +++ b/modify.go @@ -124,7 +124,7 @@ func (l *Conn) Modify(modifyRequest *ModifyRequest) *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) @@ -132,7 +132,7 @@ func (l *Conn) Modify(modifyRequest *ModifyRequest) *Error { packet = <-channel l.Debug.Printf("%d: got response %p\n", messageID, packet) if packet == nil { - return NewError(ErrorNetwork, errors.New("Could not retrieve message")) + return NewError(ErrorNetwork, errors.New("ldap: could not retrieve message")) } if l.Debug { -- cgit v1.2.3