Fix popular typos (#355)
This commit is contained in:
parent
cfb031a15c
commit
8f921fbfde
@ -110,7 +110,7 @@ func (s *server) Listen() {
|
|||||||
delete(s.Clients, c.socketID)
|
delete(s.Clients, c.socketID)
|
||||||
s.listener.ClientRemoved(c.socketID)
|
s.listener.ClientRemoved(c.socketID)
|
||||||
|
|
||||||
// message was recieved from a client and should be sanitized, validated
|
// message was received from a client and should be sanitized, validated
|
||||||
// and distributed to other clients.
|
// and distributed to other clients.
|
||||||
case msg := <-s.sendAllCh:
|
case msg := <-s.sendAllCh:
|
||||||
// Will turn markdown into html, sanitize user-supplied raw html
|
// Will turn markdown into html, sanitize user-supplied raw html
|
||||||
|
@ -103,7 +103,7 @@ func (s *S3Storage) SegmentWritten(localFilePath string) {
|
|||||||
// VariantPlaylistWritten is called when a variant hls playlist is written
|
// VariantPlaylistWritten is called when a variant hls playlist is written
|
||||||
func (s *S3Storage) VariantPlaylistWritten(localFilePath string) {
|
func (s *S3Storage) VariantPlaylistWritten(localFilePath string) {
|
||||||
// We are uploading the variant playlist after uploading the segment
|
// We are uploading the variant playlist after uploading the segment
|
||||||
// to make sure we're not refering to files in a playlist that don't
|
// to make sure we're not referring to files in a playlist that don't
|
||||||
// yet exist. See SegmentWritten.
|
// yet exist. See SegmentWritten.
|
||||||
if _, ok := _queuedPlaylistUpdates[localFilePath]; ok {
|
if _, ok := _queuedPlaylistUpdates[localFilePath]; ok {
|
||||||
_, err := s.Save(localFilePath, 0)
|
_, err := s.Save(localFilePath, 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user