diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-10-07 01:16:31 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-10-07 01:16:31 +0300 |
commit | 16ee995cfeff2af51b5f00b15fe1500cc4deeb99 (patch) | |
tree | d6ec02ad1d8928e1874da69cda3c8abcfa3ee801 /src/squark-filter.c | |
parent | 149184c48a92b7da35691b4c977b810cdcf528dd (diff) | |
download | squark-16ee995cfeff2af51b5f00b15fe1500cc4deeb99.tar.bz2 squark-16ee995cfeff2af51b5f00b15fe1500cc4deeb99.tar.xz |
lua, filter: fix 64-bit issuesv0.4
Diffstat (limited to 'src/squark-filter.c')
-rw-r--r-- | src/squark-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squark-filter.c b/src/squark-filter.c index 09693c9..407c1b5 100644 --- a/src/squark-filter.c +++ b/src/squark-filter.c @@ -248,7 +248,7 @@ static int url_classify(struct url_info *url, struct sqdb *db) indx[p].parent != SQDB_PARENT_ROOT || blob_cmp(tld, sqdb_get_string_literal(db, indx[p].component)) != 0) { /* top level domain did not match */ - i = -1; + i = SQDB_PARENT_ROOT; goto parent_dns_match; } tld = BLOB_NULL; |