Skip to content

Commit

Permalink
use fprint instead
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol committed Nov 17, 2024
1 parent 4319637 commit b5bdd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/m3u_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func M3UHandler(w http.ResponseWriter, r *http.Request) {
break
}

_, err := fmt.Fprintf(w, data)
_, err := fmt.Fprint(w, data)
if err != nil {
if debug {
utils.SafeLogf("[DEBUG] Error writing http response: %v\n", err)
Expand Down

0 comments on commit b5bdd80

Please sign in to comment.