Diff for /parser3/src/classes/string.C between versions 1.228 and 1.229

version 1.228, 2016/09/21 11:59:09 version 1.229, 2016/09/21 15:35:10
Line 620  static void _save(Request& r, MethodPara Line 620  static void _save(Request& r, MethodPara
                         // ^file.save[filespec;$.charset[] $.append(true)]                          // ^file.save[filespec;$.charset[] $.append(true)]
                         int 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());                                  asked_charset=&pa_charsets.get(vcharset_name->as_string());
                                 valid_options++;                                  valid_options++;
                         }                          }
                         if(Value* vappend=options->get(MODE_APPEND)){                          if(Value* vappend=options->get(MODE_APPEND)){
Line 763  static void _unescape(Request& r, Method Line 763  static void _unescape(Request& r, Method
                 if(HashStringValue* options=params.as_hash(2)) {                  if(HashStringValue* options=params.as_hash(2)) {
                         int 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)){
                                 from_charset=&::charsets.get(vcharset_name->as_string());                                  from_charset=&pa_charsets.get(vcharset_name->as_string());
                                 valid_options++;                                  valid_options++;
                         }                          }
                         if(valid_options!=options->count())                          if(valid_options!=options->count())

Removed from v.1.228  
changed lines
  Added in v.1.229


E-mail: