]> pilppa.org Git - libplp.git/blobdiff - src/config.c
cleanups for devices with no data
[libplp.git] / src / config.c
index 9c479a0e255e70c8dac7c6217849cc6c4d49ca79..2c746f25da47a0821cf5ffa9952ae46947a6de53 100644 (file)
@@ -125,7 +125,8 @@ char* get_config_value_and_close(const char *conf_dir_name,
                                                ret_val = uci_get_config_value(ctx,
                                                                        pkg,
                                                                        section_name,
-                                                                       key);
+                                                                       key,
+                                                                       &err_flg);
                                                // need to duplicate response val, as uci_free_context() would free the value otherwise
                                                if (ret_val != NULL)
                                                        ret_val = strdup(ret_val);