Re: [hackers] [surf] Fix ssl failure detection || Quentin Rameau

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Wed, 15 Jul 2015 18:47:16 +0200

git_AT_suckless.org wrote:
> + if (webkit_web_view_get_tls_info(c->view, NULL, &tlsflags) &&
> + tlsflags) {

Heyho,

I would switch the test around and check for `tlsflags` first. It probably
doesn't affect the binary, but is easier to read for humans.

--Markus
Received on Wed Jul 15 2015 - 18:47:16 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 15 2015 - 18:48:17 CEST