|
|
| version 1.189, 2009/09/08 09:12:47 | version 1.190, 2009/09/10 09:40:34 |
|---|---|
| Line 622 static void _save(Request& r, MethodPara | Line 622 static void _save(Request& r, MethodPara |
| size_t file_name_index=0; | size_t file_name_index=0; |
| if(params.count()>1) | if(params.count()>1) |
| if(HashStringValue* options=params.as_no_junction(1, "second parameter should be string or hash").get_hash()){ | if(HashStringValue* options=params.as_no_junction(1, "second parameter should be string or hash").get_hash()){ |
| size_t valid_options=0; | int valid_options=0; |
| if(Value* vcharset_name=options->get(PA_CHARSET_NAME)){ | if(Value* vcharset_name=options->get(PA_CHARSET_NAME)){ |
| asked_charset=&::charsets.get(vcharset_name->as_string().change_case(r.charsets.source(), String::CC_UPPER)); | asked_charset=&::charsets.get(vcharset_name->as_string().change_case(r.charsets.source(), String::CC_UPPER)); |
| valid_options++; | valid_options++; |