From 8f921fbfded56d4c1f064e1a4a0873b3dd27e37b Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 12 Nov 2020 23:57:24 +0100 Subject: [PATCH] Fix popular typos (#355) --- core/chat/server.go | 2 +- core/storageproviders/s3Storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/chat/server.go b/core/chat/server.go index 096c743bd..d445726ca 100644 --- a/core/chat/server.go +++ b/core/chat/server.go @@ -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 diff --git a/core/storageproviders/s3Storage.go b/core/storageproviders/s3Storage.go index 53477d79a..a392a125d 100644 --- a/core/storageproviders/s3Storage.go +++ b/core/storageproviders/s3Storage.go @@ -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)