mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-28 19:49:19 +00:00
fixed logging for wrpreq from from
This commit is contained in:
parent
1807790629
commit
253fef2aad
2
wrp.go
2
wrp.go
@ -72,7 +72,7 @@ func (w *wrpReq) parseForm(req *http.Request) {
|
|||||||
}
|
}
|
||||||
w.K = req.FormValue("k")
|
w.K = req.FormValue("k")
|
||||||
w.F = req.FormValue("Fn")
|
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) {
|
func (w wrpReq) printPage(out http.ResponseWriter) {
|
||||||
|
Loading…
Reference in New Issue
Block a user