Hi I'm trying to get this ssl patch to work. I finally installed all the patch, but now I'm getting an error when compiling. Server.cc: In method `Server::Server(char *, int, int, StringList * = 0)': Server.cc:44: passing `const char *' as argument 1 of `String::operator =(char *)' discards qua lifiers make[1]: *** [Server.o] Error 1 make[1]: Leaving directory `/tmp/work/htdig-3.1.5/htdig' make: *** [all] Error 1 This is a line that was modified by the patch. Here is the excert from Server.cc // // Attempt to get a robots.txt file from the specified server // String url; url = ssl ? "https://" : "http://"; <----this is where it's getting an error url << host << ':' << port << "/robots.txt"; Document doc(url, 0); static int local_urls_only = config.Boolean("local_urls_only"); time_t timeZero = 0; Document::DocStatus status; Here's the diff @@ -40,7 +40,8 @@ // // Attempt to get a robots.txt file from the specified server // - String url = "http://"; + String url; + url = ssl ? "https://" : "http://"; url << host << ':' << port << "/robots.txt"; Document doc(url, 0); Any ideas?????? Thanks in advance Jeremy
begin:vcard n:Lyon;Jeremy tel;pager:303-899-9178 tel;work:303-624-4226 x-mozilla-html:FALSE org:Qwest;Information Technologies version:2.1 email;internet:[EMAIL PROTECTED] title:Associate IT Specialist adr;quoted-printable:;;1515 Arapahoe=0D=0ATower 1=0D=0AFlr 9;Denver;Colorado;80202; fn:Jeremy Lyon end:vcard
------------------------------------ To unsubscribe from the htdig mailing list, send a message to [EMAIL PROTECTED] You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>