From 0573b166b2aa2ee40be1a328636cb539d96aeeac Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Tue, 14 May 2013 19:20:14 +0000 Subject: Merge sources from windows-1252 to utf-8 --- src/htsrobots.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/htsrobots.c') diff --git a/src/htsrobots.c b/src/htsrobots.c index d1ca45c..589f70c 100644 --- a/src/htsrobots.c +++ b/src/htsrobots.c @@ -48,7 +48,7 @@ Please visit our Website: http://www.httrack.com // -- robots -- -// fil="" : vérifier si règle déja enregistrée +// fil="" : vérifier si règle déja enregistrée int checkrobots(robots_wizard* robots,char* adr,char* fil) { while(robots) { if (strfield2(robots->adr,adr)) { @@ -81,7 +81,7 @@ int checkrobots_set(robots_wizard* robots,char* adr,char* data) { if (((int) strlen(adr)) >= sizeof(robots->adr) - 2) return 0; if (((int) strlen(data)) >= sizeof(robots->token) - 2) return 0; while(robots) { - if (strfield2(robots->adr,adr)) { // entrée existe + if (strfield2(robots->adr,adr)) { // entrée existe strcpybuff(robots->token,data); #if DEBUG_ROBOTS printf("robots.txt: set %s to %s\n",adr,data); -- cgit v1.2.3