Skip to content

Commit

Permalink
Adjust debug outout format
Browse files Browse the repository at this point in the history
  • Loading branch information
mcktr committed May 25, 2020
1 parent 945c906 commit 1aecb85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/fritz/fritz_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func DoSoapRequest(soapRequest *SoapData, resps chan<- []byte, errs chan<- error

// enable this for debug sessions
if debug {
fmt.Println(string(body))
fmt.Printf("---\nFrist SOAP Response:\n---\n%v\n---\n", string(body))
}

// create immediately a new request with authentication
Expand Down Expand Up @@ -96,7 +96,7 @@ func DoSoapRequest(soapRequest *SoapData, resps chan<- []byte, errs chan<- error
// enable this for debug sessions

if debug {
fmt.Println(string(body))
fmt.Printf("---\nSecond SOAP Response:\n---\n%v\n---\n", string(body))
}

resps <- body
Expand Down

0 comments on commit 1aecb85

Please sign in to comment.