|
@@ -3759,10 +3759,15 @@ static int ini_free(paras_handle_t *h)
|
|
|
static int ini_save(paras_handle_t *h)
|
|
static int ini_save(paras_handle_t *h)
|
|
|
{
|
|
{
|
|
|
int r=-1;
|
|
int r=-1;
|
|
|
|
|
+ r = proc_misc(h->dic, PARAS_WRITE, &h->paras.misc);
|
|
|
|
|
+ if(r) {
|
|
|
|
|
+ LOGE("___ini_w_misc failed\n");
|
|
|
|
|
+ return -1;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
r = proc_prod(h->dic, PARAS_WRITE, &h->paras.prod);
|
|
r = proc_prod(h->dic, PARAS_WRITE, &h->paras.prod);
|
|
|
if(r) {
|
|
if(r) {
|
|
|
- LOGE("___ini_w_dev failed\n");
|
|
|
|
|
|
|
+ LOGE("___ini_w_proc failed\n");
|
|
|
return -1;
|
|
return -1;
|
|
|
}
|
|
}
|
|
|
|
|
|