stream: follow coding style, don't use degrade-to-bool for checking numeric value
This commit is contained in:
parent
791cd15993
commit
57bdb749b8
|
@ -41,7 +41,7 @@ static int dns_stream_update_io(DnsStream *s) {
|
|||
|
||||
#if ENABLE_DNS_OVER_TLS
|
||||
/* For handshake and clean closing purposes, TLS can override requested events */
|
||||
if (s->dnstls_events)
|
||||
if (s->dnstls_events != 0)
|
||||
f = s->dnstls_events;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue