From 67312503d2a9166d5547734d36dcd5ecc70174cf Mon Sep 17 00:00:00 2001 From: Samuel Stauffer Date: Wed, 19 Mar 2014 14:13:11 -0700 Subject: Remove newlines from log messages --- modify.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modify.go') 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 } -- cgit v1.2.3