Introduction
Introduction Statistics Contact Development Disclaimer Help
use same error for same error type thing - surf-adblock - Surf adblock web exte…
git clone git://git.codemadness.org/surf-adblock
Log
Files
Refs
README
LICENSE
---
commit 327b1bc633ff956ca11e2c6ef4dd972be16f8532
parent 6c346e74c3f8ccf71c543ef327b6f123bee908ba
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 6 Jun 2017 09:49:40 +0200
use same error for same error type thing
Diffstat:
M adblock.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/adblock.c b/adblock.c
@@ -993,8 +993,8 @@ init(void)
continue;
len = strlen(r->css);
- if (string_append(&globalcss, r->css, strlen(r->css)) < len) {
- weprintf("cannot load global css selectors in memory\n…
+ if (string_append(&globalcss, r->css, len) < len) {
+ weprintf("cannot append CSS rule to global CSS selecto…
cleanup();
return;
}
@@ -1002,8 +1002,7 @@ init(void)
s = r->isexception ? "{display:initial;}" : "{display:none;}";
len = strlen(s);
if (string_append(&globalcss, s, len) < len) {
- weprintf("cannot append CSS rule "
- "to global CSS selectors\n");
+ weprintf("cannot append CSS rule to global CSS selecto…
cleanup();
return;
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.