diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-24 12:21:42 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-24 12:21:42 +0000 |
commit | 09be6e615e264a4d3ff7a78a5d213644ce9ee91b (patch) | |
tree | 5a2cc6ca39be3c115c976c1a023c9a66fc4f76c7 /src/htsback.c | |
parent | 54e983b2c871f8a0e3f726bfb42f498fe68d81a8 (diff) |
GPL v3
Diffstat (limited to 'src/htsback.c')
-rw-r--r-- | src/htsback.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/htsback.c b/src/htsback.c index 1a52500..a6b19ab 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -5,7 +5,7 @@ Copyright (C) Xavier Roche and other contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 +as published by the Free Software Foundation; either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, @@ -79,7 +79,7 @@ Please visit our Website: http://www.httrack.com static int slot_can_be_cached_on_disk(const lien_back* back); static int slot_can_be_cleaned(const lien_back* back); static int slot_can_be_finalized(httrackp* opt, const lien_back* back); -
+ struct_back* back_new(int back_max) { int i; @@ -280,8 +280,8 @@ int back_cleanup_background(httrackp* opt,cache_back* cache,struct_back* sback) back_delete(NULL, NULL, sback, checkIndex); #ifdef _DEBUG /* This should NOT happend! */ - { int duplicateEntryInBacklog = 1; assertf(!duplicateEntryInBacklog); }
-#endif
+ { int duplicateEntryInBacklog = 1; assertf(!duplicateEntryInBacklog); } +#endif } #ifndef HTS_NO_BACK_ON_DISK /* temporarily serialize the entry on disk */ @@ -2086,7 +2086,7 @@ void Hostlookup(void* pP) { void back_solve(httrackp *opt, lien_back* back) { if ((!strfield(back->url_adr,"file://")) && ! strfield(back->url_adr,"ftp://") -#if HTS_USEMMS
+#if HTS_USEMMS && ! strfield(back->url_adr,"mms://") #endif ) { @@ -2135,9 +2135,9 @@ void back_solve(httrackp *opt, lien_back* back) { int host_wait(httrackp *opt, lien_back* back) { if ((!strfield(back->url_adr,"file://")) && (!strfield(back->url_adr,"ftp://")) -#if HTS_USEMMS
+#if HTS_USEMMS && (!strfield(back->url_adr,"mms://")) -#endif
+#endif ) { //## if (back->url_adr[0]!=lOCAL_CHAR) { if (!(back->r.req.proxy.active)) { |