fix uci_set
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 382e745f1d58d4f0f4db79df078e320d4719da55..5bc20612c3d8ade20044e8de29f49366711c9a61 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -228,6 +228,8 @@ extern int uci_commit(struct uci_context *ctx, struct uci_package **p, bool over
 /**
  * uci_list_configs: List available uci config files
  * @ctx: uci context
+ *
+ * caller is responsible for freeing the allocated memory behind list
  */
 extern int uci_list_configs(struct uci_context *ctx, char ***list);
 
@@ -339,7 +341,7 @@ struct uci_package
        struct uci_element e;
        struct uci_list sections;
        struct uci_context *ctx;
-       bool confdir;
+       bool has_history;
        char *path;
 
        /* private: */