Skip to content

Commit

Permalink
&*x is be simplified to x.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarazzutti committed Jul 24, 2023
1 parent 5007fe4 commit c0987d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/webclientimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ func (webClient *webClientImpl) DoMeasure(followRedirect bool) *HTTPMeasure {
webClient.url.Host = altSvcH3
}

c := &(*webClient.config)
c := *webClient.config
c.Http3 = true
err := webClient.update(c, webClient.runtimeConfig)
err := webClient.update(&c, webClient.runtimeConfig)

if err != nil {
return &HTTPMeasure{
Expand Down

0 comments on commit c0987d2

Please sign in to comment.