fixed logging for wrpreq from from

This commit is contained in:
Antoni Sawicki 2019-07-14 01:53:33 -07:00
parent 1807790629
commit 253fef2aad

2
wrp.go
View File

@ -72,7 +72,7 @@ func (w *wrpReq) parseForm(req *http.Request) {
}
w.K = req.FormValue("k")
w.F = req.FormValue("Fn")
log.Printf("WrpReq from Form: %+v\n", w)
log.Printf("%s WrpReq from Form: %+v\n", req.RemoteAddr, w)
}
func (w wrpReq) printPage(out http.ResponseWriter) {