Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libcfg+/src/shared.c between version 1.8 and 1.9

version 1.8, 2002/04/07 16:42:33 version 1.9, 2002/04/19 01:28:21
Line 151  __cfg_process_currents(con, ret_val, arg
Line 151  __cfg_process_currents(con, ret_val, arg
                                                         strdyn_safe_free(add);                                                          strdyn_safe_free(add);
                                                         return ret;                                                          return ret;
                                                 }                                                  }
                                                 /*  
                                                    if (add == NULL)  
                                                    return CFG_ERROR_NOMEM;  
                                                  */  
                                         }                                          }
                                         else {                                          else {
                                                 add = static_add;                                                  add = static_add;
Line 198  __cfg_process_currents(con, ret_val, arg
Line 194  __cfg_process_currents(con, ret_val, arg
   
                                         if (opt_f_multi_sep) {                                          if (opt_f_multi_sep) {
                                                 char **ar;                                                  char **ar;
                                                 /*  
                                                    ar = strdyn_explode_ar(con->cur_arg,  
                                                    con->type == CFG_LINE  
                                                    ? con->line_multi_vals_separator  
                                                    : con->file_multi_vals_separator);  
   
                                                    if (ar == NULL)  
                                                    return CFG_ERROR_NOMEM;  
                                                  */  
                                                 ret = split_multi_arg(con, con->cur_arg, &ar);                                                  ret = split_multi_arg(con, con->cur_arg, &ar);
                                                 if (ret != CFG_OK) {                                                  if (ret != CFG_OK) {
                                                         strdyn_safe_free(ar);                                                          strdyn_safe_free(ar);
Line 241  __cfg_process_currents(con, ret_val, arg
Line 228  __cfg_process_currents(con, ret_val, arg
                         break;                          break;
         }          }
   
         /* if (con->options[opt_idx].val != 0) */  
         *ret_val = con->options[opt_idx].val;          *ret_val = con->options[opt_idx].val;
   
         return CFG_OK;          return CFG_OK;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top