func (s *State) appendSuccessfulSend(toHostname string) {
	s.lock.Lock()
	defer s.lock.Unlock()
	if s.Sent == nil {
		s.Sent = map[string]int{}
	}
	s.Sent[toHostname]++
}
// s must not be locked
s must not be locked
// s must not be locked
func (s *State) appendSuccessfulSend(toHostname string) {
	s.lock.Lock()
	defer s.lock.Unlock()
	if s.Sent == nil {
		s.Sent = map[string]int{}
	}
	s.Sent[toHostname]++
}
func ( s * State ) appendSuccessfulSend ( toHostname string ) { s . lock . Lock ( ) defer s . lock . Unlock ( ) if s . Sent == nil { s . Sent = map [ string ] int { } } s . Sent [ toHostname ] ++ }
s must not be locked
s must not be locked