Revert to fprintf

This commit is contained in:
Eliot Whalan 2016-06-24 11:06:29 +10:00
parent a4ae43ea08
commit 4bc80d3481
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
} else { } else {
dat, err := ioutil.ReadFile("assets/syntax.html") dat, err := ioutil.ReadFile("assets/syntax.html")
check(err) check(err)
w.Write(string(dat), paste, paste, s, ADDRESS, link) fmt.Fprintf(w, string(dat), paste, paste, s, ADDRESS, link)
} }
} }