Fixed a typo

This commit is contained in:
Aliaksandr Valialkin
2015-11-30 19:51:54 +02:00
parent 66d1cfd6e3
commit 340f270beb
+1 -1
View File
@@ -87,7 +87,7 @@ func ExampleServer() {
func ExampleRequestCtx_Hijack() {
// hijackHandler is called on hijacked connection.
hijackHandler := func(c net.Conn) {
fmt.Fprintf(c, "This message is sent over a hijacked connection to the client %d\n", c.RemoteAddr())
fmt.Fprintf(c, "This message is sent over a hijacked connection to the client %s\n", c.RemoteAddr())
fmt.Fprintf(c, "Send me something and I'll echo it to you\n")
var buf [1]byte
for {