[htdig3-dev] Compiler Warnings (was libraries named .3.0.2 ??)


loic@ceic.com
Tue, 10 Aug 1999 16:54:22 +0200 (MEST)


>
> > // Parse the CGI parameters.
> > //
> > ! char *input_str;
> > ! strcpy(input_str, (optind < ac ? av[optind] : ""));
> > ! cgi input(input_str);
> >

 I'd say

 String input_str(optind < ac ? av[optind] : "");
 cgi input(input_str);

 should do it. Provided there's not a const in String constructor :-)

-- 
		Loic Dachary

ECILA 100 av. du Gal Leclerc 93500 Pantin - France Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61 e-mail: Loic@Dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Tue Aug 10 1999 - 07:44:14 PDT