Skip to content

Commit

Permalink
Remove fmt.Println used for debugging and change ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
jafayer committed Aug 29, 2024
1 parent 9152b68 commit a561183
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions whois.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,10 @@ func (c *Client) SetDialer(dialer proxy.Dialer) *Client {

// SetTimeout set query timeout
func (c *Client) SetTimeout(timeout time.Duration) *Client {
c.timeout = timeout
if d, ok := c.dialer.(*hasTimeout); ok {
fmt.Println("hasTimeout")
d.Timeout = timeout
}
c.timeout = timeout
return c
}

Expand Down

0 comments on commit a561183

Please sign in to comment.