--- parser3/src/targets/cgi/parser3.C 2002/08/14 10:52:28 1.193 +++ parser3/src/targets/cgi/parser3.C 2002/08/14 11:37:14 1.194 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2002/08/14 10:52:28 $"; +static const char* IDENT_PARSER3_C="$Date: 2002/08/14 11:37:14 $"; #include "pa_config_includes.h" @@ -29,6 +29,8 @@ static const char* IDENT_PARSER3_C="$Dat # include #endif +#include "fixopt.h" + //#define DEBUG_POOL_MALLOC //#define DEBUG_STRING_APPENDS_VS_EXPANDS //#define DEBUG_MAILRECEIVE "test.eml" @@ -423,7 +425,13 @@ static void usage(const char *program) { exit(EINVAL); } -int main(int argc, char *argv[]) { +int main(int raw_argc, char *raw_argv[]) { + int argc; + char **argv; + fixopt( + raw_argc, raw_argv, + argc, argv); + Pool_storage global_pool_storage; Pool global_pool(&global_pool_storage); pool=&global_pool;