diff --git a/connection/connection.go b/connection/connection.go index f2d1460..2fd8142 100644 --- a/connection/connection.go +++ b/connection/connection.go @@ -431,7 +431,7 @@ func (rc *Connection) controlPacket(handler Handler, res *Protocol_Data_Control. channel, found := rc.channelManager.GetChannel(id) if !found { - rc.traceLog(fmt.Sprintf("channel result recived for unknown channel: %v", channel.Type, id)) + rc.traceLog(fmt.Sprintf("channel result received for unknown channel: type:%s id:%v", channel.Type, id)) return } diff --git a/policies/timeoutpolicy_test.go b/policies/timeoutpolicy_test.go index f3b9eb4..f56fa77 100644 --- a/policies/timeoutpolicy_test.go +++ b/policies/timeoutpolicy_test.go @@ -13,7 +13,7 @@ func TestTimeoutPolicy(t *testing.T) { } err := policy.ExecuteAction(result) if err != nil { - t.Errorf("Action should ahve returned nil: %v", err) + t.Errorf("Action should have returned nil: %v", err) } }