diff options
author | Samuel Stauffer <samuel@descolada.com> | 2014-03-19 22:13:11 +0100 |
---|---|---|
committer | Samuel Stauffer <samuel@descolada.com> | 2014-03-19 22:13:11 +0100 |
commit | 67312503d2a9166d5547734d36dcd5ecc70174cf (patch) | |
tree | 8bc3f16196d4a19f4bf062471090f9af69697024 /modify.go | |
parent | Rename DialSSL to DialTLS and remove DialTLS infavor of exporting StartTLS (diff) | |
download | ldap-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.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 } |