Skip to content

Commit

Permalink
Revert "Fix race condition in 33across.go (prebid#1757)" (prebid#1763)
Browse files Browse the repository at this point in the history
This reverts commit bdf1e7b.
  • Loading branch information
SyntaxNode authored Mar 18, 2021
1 parent bdf1e7b commit f7df258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/33across/33across.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func (a *TtxAdapter) MakeBids(internalRequest *openrtb.BidRequest, externalReque
}

func validateVideoParams(video *openrtb.Video, prod string) (*openrtb.Video, error) {
videoCopy := *video
videoCopy := video
if videoCopy.W == 0 ||
videoCopy.H == 0 ||
videoCopy.Protocols == nil ||
Expand All @@ -252,7 +252,7 @@ func validateVideoParams(video *openrtb.Video, prod string) (*openrtb.Video, err
}
}

return &videoCopy, nil
return videoCopy, nil
}

func getBidType(ext bidExt) openrtb_ext.BidType {
Expand Down

0 comments on commit f7df258

Please sign in to comment.