summaryrefslogtreecommitdiff
path: root/src/htsparse.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-06-03 16:26:25 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-06-03 16:26:25 +0000
commited79961b7a27c03eae6fc8953406ce4ee45d8729 (patch)
tree7bf5c57df014c646ff2a91a4700bcde862f65963 /src/htsparse.c
parentd3c14c9d1fdc1b2d193a2e0a71d5901e2450ca36 (diff)
Potential fix for htshash.c:330 assertion failure: "error invalidating hash entry"
Diffstat (limited to 'src/htsparse.c')
-rw-r--r--src/htsparse.c4
1 files changed, 2 insertions, 2 deletions
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