]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib/cache: removed assertion that causes server to crash on partial writes
authorMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 13 Apr 2018 20:45:30 +0000 (13:45 -0700)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 7 Sep 2018 17:45:21 +0000 (10:45 -0700)
lib/cache/nsec1.c

index 10f7e1da7b1cdc54ad09e384efab55134d33bfa4..af2868f7e616176b3fb458beed9f2ada3e5062a3 100644 (file)
@@ -158,7 +158,6 @@ static const char * find_leq_NSEC1(struct kr_cache *cache, const struct kr_query
                if (ret == kr_error(ENOENT)) {
                        return "range search miss";
                } else {
-                       assert(false);
                        return "range search ERROR";
                }
        }