summaryrefslogtreecommitdiffstats
path: root/modify.go
diff options
context:
space:
mode:
Diffstat (limited to 'modify.go')
-rw-r--r--modify.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modify.go b/modify.go
index 8efbcfe..92621e3 100644
--- a/modify.go
+++ b/modify.go
@@ -128,9 +128,9 @@ func (l *Conn) Modify(modifyRequest *ModifyRequest) *Error {
}
defer l.finishMessage(messageID)
- l.Debug.Printf("%d: waiting for response\n", messageID)
+ l.Debug.Printf("%d: waiting for response", messageID)
packet = <-channel
- l.Debug.Printf("%d: got response %p\n", messageID, packet)
+ l.Debug.Printf("%d: got response %p", messageID, packet)
if packet == nil {
return NewError(ErrorNetwork, errors.New("ldap: could not retrieve message"))
}
@@ -148,9 +148,9 @@ func (l *Conn) Modify(modifyRequest *ModifyRequest) *Error {
return NewError(resultCode, errors.New(resultDescription))
}
} else {
- log.Printf("Unexpected Response: %d\n", packet.Children[1].Tag)
+ log.Printf("Unexpected Response: %d", packet.Children[1].Tag)
}
- l.Debug.Printf("%d: returning\n", messageID)
+ l.Debug.Printf("%d: returning", messageID)
return nil
}