HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Directory structure to include protocol?
Author: Russ Reese
Date: 04/07/2004 19:40
 
Actually, Xavier, I've started working on a patch for it.
Have  it working right now basically, just testing it out,
nothing more than adding another case into the switch
located in htsname.c like this:

case 'P':    // protocol
	    *b='\0';
	    int protpos;
	    if (protpos = strstr(adr_complete, "://")) {
		    strncatbuff(b, adr_complete, protpos - 1);
	    } else {
		    strcpybuff(b, "http");
	    }
	    
	    b+=strlen(b);
	    break;

Of course took me a few minutes to try and figure out all
the comments that appear to be in French, seeing as I'm an
american that knows no other spoken languages :)
 
Reply Create subthread


All articles

Subject Author Date
Directory structure to include protocol?

03/30/2004 19:09
Re: Directory structure to include protocol?

04/04/2004 10:05
Re: Directory structure to include protocol?

04/07/2004 18:46
Re: Directory structure to include protocol?

04/07/2004 19:40
Re: Directory structure to include protocol? - fix

04/07/2004 19:56
Re: Directory structure to include protocol? - fix

04/25/2013 23:59




7

Created with FORUM 2.0.11