From ed79961b7a27c03eae6fc8953406ce4ee45d8729 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Tue, 3 Jun 2014 16:26:25 +0000 Subject: Potential fix for htshash.c:330 assertion failure: "error invalidating hash entry" --- src/htsparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/htsparse.c') diff --git a/src/htsparse.c b/src/htsparse.c index 37f0357..084ec8e 100644 --- a/src/htsparse.c +++ b/src/htsparse.c @@ -3507,7 +3507,7 @@ int hts_mirror_check_moved(htsmoduleStruct * str, urladr(), urlfil(), moved->adr, moved->fil); // canceller lien actuel error = 1; - hash_invalidate_entry(hashptr, ptr); // invalidate hashtable entry + hts_invalidate_link(opt, ptr); // invalidate hashtable entry // noter NOUVEAU lien //xxc xxc // set_prio_to=0+1; // protection if the moved URL is an html page!! @@ -3628,7 +3628,7 @@ int hts_mirror_check_moved(htsmoduleStruct * str, // // canceller lien actuel error = 1; - hash_invalidate_entry(hashptr, ptr); // invalidate hashtable entry + hts_invalidate_link(opt, ptr); // invalidate hashtable entry // } else { // oups erreur, plus de mémoire!! XH_uninit; // désallocation mémoire & buffers -- cgit v1.2.3