Skip to content

Commit 5d250f1

Browse files
Fixed typo in vidplayer logging (#390)
1 parent 956ccf4 commit 5d250f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vidplayer/player.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ func handleLive(w http.ResponseWriter, r *http.Request,
176176
w.Header().Set("Content-Length", strconv.Itoa(len(seg)))
177177
_, err = w.Write(seg)
178178
if err != nil {
179-
glog.Errorf("Error writting response %v: %v", r.URL, err)
179+
glog.Errorf("Error writing response %v: %v", r.URL, err)
180180
if err == ErrNotFound {
181181
http.Error(w, "ErrNotFound", 404)
182182
} else if err == ErrTimeout {
183183
http.Error(w, "ErrTimeout", 408)
184184
} else if err == ErrBadRequest {
185185
http.Error(w, "ErrBadRequest", 400)
186186
} else {
187-
http.Error(w, "Error writting segment", 500)
187+
http.Error(w, "Error writing segment", 500)
188188
}
189189
return
190190
}

0 commit comments

Comments
 (0)