mirror of
https://gitlab.com/niansa/nosni.git
synced 2025-03-06 20:53:26 +01:00
Improved a comment
This commit is contained in:
parent
67d51a4d8b
commit
6287e6063a
1 changed files with 1 additions and 1 deletions
2
nss.c
2
nss.c
|
@ -22,7 +22,7 @@ SECStatus SSL_SetURL(PRFileDesc *fd, const char *url) {
|
||||||
static typeof(SSL_SetURL) *orig = NULL;
|
static typeof(SSL_SetURL) *orig = NULL;
|
||||||
if (!orig) orig = dlsym(RTLD_NEXT, "SSL_SetURL");
|
if (!orig) orig = dlsym(RTLD_NEXT, "SSL_SetURL");
|
||||||
|
|
||||||
// Don't do anything if domain isn't blocked
|
// Call original function as-is if domain isn't blocked
|
||||||
if (!is_domain_blocked(url)) {
|
if (!is_domain_blocked(url)) {
|
||||||
return orig(fd, url);
|
return orig(fd, url);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue