summaryrefslogtreecommitdiff
path: root/src/htsback.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-09-06 16:55:20 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-09-06 16:55:20 +0000
commitfa1e5e31132be81e2605706a43a59227a4041f42 (patch)
treed036fe4ee91dea876e311e8f68b80b0afe77c1bb /src/htsback.c
parentfd69106947dbb0a5139b032c6c8f7978092061ca (diff)
Fixed a little bit the infamous DNS cache
Diffstat (limited to 'src/htsback.c')
-rw-r--r--src/htsback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsback.c b/src/htsback.c
index 3dfba75..ccfdba1 100644
--- a/src/htsback.c
+++ b/src/htsback.c
@@ -2219,6 +2219,8 @@ void Hostlookup(void *pP) {
// si c'est un fichier, la résolution est immédiate
// idem pour ftp://
void back_solve(httrackp * opt, lien_back * back) {
+ assertf(opt != NULL);
+ assertf(back != NULL);
if ((!strfield(back->url_adr, "file://"))
&& !strfield(back->url_adr, "ftp://")
#if HTS_USEMMS