summaryrefslogtreecommitdiff
path: root/src/hsts.c
diff options
context:
space:
mode:
authorAdam Ehlers Nyholm Thomsen <adament@adament.net>2012-12-13 10:31:36 +0100
committerAdam Ehlers Nyholm Thomsen <adament@adament.net>2012-12-13 10:31:36 +0100
commitb4ae735d0b85288ebd943504a6bcf73259364c25 (patch)
treea0cac30deb160b6e5faf65678540dcd12ae5947e /src/hsts.c
parent3deb33b0d75789a66e728ba9701a898bf9b6570e (diff)
downloaddwb-b4ae735d0b85288ebd943504a6bcf73259364c25.zip
This does technically work, but let's make it a bit easier to read.
Diffstat (limited to 'src/hsts.c')
-rw-r--r--src/hsts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hsts.c b/src/hsts.c
index 1700aa99..5b8a253b 100644
--- a/src/hsts.c
+++ b/src/hsts.c
@@ -383,7 +383,7 @@ hsts_provider_has_cert_pin(HSTSProvider *provider, const char *host)
HSTSProviderPrivate *priv = HSTS_PROVIDER_GET_PRIVATE(provider);
if(g_hostname_is_ip_address(host))
- return false;
+ return NULL;
HSTSPinEntry *result = NULL;
gchar *canonical = g_hostname_to_unicode(host);