stream: follow coding style, don't use degrade-to-bool for checking numeric value

This commit is contained in:
Lennart Poettering 2019-01-21 17:56:34 +01:00
parent 791cd15993
commit 57bdb749b8
1 changed files with 1 additions and 1 deletions

View File

@ -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