From dbb9a4496ea450990e1e25d1ae5e869a69ad3267 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 12 Nov 2022 15:03:38 +0100 Subject: [PATCH] Fix comenting style In order to adhere to Go coding style. --- agent.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/agent.go b/agent.go index ace3095..5ce3802 100644 --- a/agent.go +++ b/agent.go @@ -1000,12 +1000,11 @@ func (a *Agent) sendBindingSuccess(m *stun.Message, local, remote Candidate) { } } -/* Removes pending binding requests that are over maxBindingRequestTimeout old - - Let HTO be the transaction timeout, which SHOULD be 2*RTT if - RTT is known or 500 ms otherwise. - https://tools.ietf.org/html/rfc8445#appendix-B.1 -*/ +// Removes pending binding requests that are over maxBindingRequestTimeout old +// +// Let HTO be the transaction timeout, which SHOULD be 2*RTT if +// RTT is known or 500 ms otherwise. +// https://tools.ietf.org/html/rfc8445#appendix-B.1 func (a *Agent) invalidatePendingBindingRequests(filterTime time.Time) { initialSize := len(a.pendingBindingRequests)