Browse Source

Comment fixes.

pull/3/head
Simon Eisenmann 12 years ago
parent
commit
af7c004638
  1. 2
      src/app/spreed-speakfreely-server/connection.go
  2. 2
      src/app/spreed-speakfreely-server/hub.go

2
src/app/spreed-speakfreely-server/connection.go

@ -268,7 +268,7 @@ func (c *Connection) writePump() { @@ -268,7 +268,7 @@ func (c *Connection) writePump() {
}
}
// Write ping message
// Write ping message.
func (c *Connection) ping() error {
log.Println("Sending ping", c.Idx)
defer func() {

2
src/app/spreed-speakfreely-server/hub.go

@ -227,7 +227,7 @@ func (h *Hub) broadcastHandler(m *MessageRequest) { @@ -227,7 +227,7 @@ func (h *Hub) broadcastHandler(m *MessageRequest) {
}
ec, ok := h.connectionTable[id]
if !ok {
// Connection gone
// Connection gone.
h.mutex.RUnlock()
continue
}

Loading…
Cancel
Save