Fix popular typos (#355)

This commit is contained in:
Christian Muehlhaeuser 2020-11-12 23:57:24 +01:00 committed by GitHub
parent cfb031a15c
commit 8f921fbfde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ func (s *server) Listen() {
delete(s.Clients, 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.
case msg := <-s.sendAllCh:
// Will turn markdown into html, sanitize user-supplied raw html

View file

@ -103,7 +103,7 @@ func (s *S3Storage) SegmentWritten(localFilePath string) {
// VariantPlaylistWritten is called when a variant hls playlist is written
func (s *S3Storage) VariantPlaylistWritten(localFilePath string) {
// 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.
if _, ok := _queuedPlaylistUpdates[localFilePath]; ok {
_, err := s.Save(localFilePath, 0)