Fixed bug where -v + -s stops -s from working
This commit is contained in:
parent
f332fb24a8
commit
0b7b9983a5
|
@ -138,11 +138,11 @@ func serveHtmlHandler(paths []string) http.HandlerFunc {
|
|||
|
||||
if Successive {
|
||||
refererUri := refererToUri(r.Referer())
|
||||
if refererUri != "" && Verbose {
|
||||
fmt.Printf("Referer is %v\n", refererUri)
|
||||
}
|
||||
|
||||
if refererUri != "" {
|
||||
if Verbose {
|
||||
fmt.Printf("Referer is %v\n", refererUri)
|
||||
}
|
||||
|
||||
f, err := url.QueryUnescape(refererUri)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Reference in New Issue