--- parser3/src/classes/curl.C 2010/05/17 08:52:19 1.5 +++ parser3/src/classes/curl.C 2010/10/21 15:06:27 1.7 @@ -8,7 +8,7 @@ #ifdef HAVE_CURL -static const char * const IDENT_INET_C="$Date: 2010/05/17 08:52:19 $"; +static const char * const IDENT_INET_C="$Date: 2010/10/21 15:06:27 $"; #include "pa_vmethod_frame.h" #include "pa_request.h" @@ -22,9 +22,6 @@ static const char * const IDENT_INET_C=" class MCurl: public Methoded { public: MCurl(); - -public: // Methoded - bool used_directly() { return true; } }; // global variables @@ -487,7 +484,7 @@ static void _curl_options(Request& r, Me if(HashStringValue* options=params.as_no_junction(0, OPTIONS_MUST_NOT_BE_CODE).get_hash()){ options->for_each(curl_setopt, r); } else - throw Exception("curl", 0, "options must be hash"); + throw Exception("curl", 0, OPTIONS_MUST_BE_HASH); }