summaryrefslogtreecommitdiffstats
path: root/modify.go
diff options
context:
space:
mode:
authorSamuel Stauffer <samuel@descolada.com>2014-03-19 22:13:11 +0100
committerSamuel Stauffer <samuel@descolada.com>2014-03-19 22:13:11 +0100
commit67312503d2a9166d5547734d36dcd5ecc70174cf (patch)
tree8bc3f16196d4a19f4bf062471090f9af69697024 /modify.go
parentRename DialSSL to DialTLS and remove DialTLS infavor of exporting StartTLS (diff)
downloadldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.gz
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.bz2
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.lz
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.xz
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.tar.zst
ldap-67312503d2a9166d5547734d36dcd5ecc70174cf.zip
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
}