summaryrefslogtreecommitdiffhomepage
path: root/examples/mapmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mapmap.c')
-rw-r--r--examples/mapmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c
index d0d8c8fa..a0c1b173 100644
--- a/examples/mapmap.c
+++ b/examples/mapmap.c
@@ -7,8 +7,8 @@ declare_cmap_str();
declare_cmap_strkey(cfg, cmap_str, cmap_str_destroy);
int main(void) {
- cmap_cfg config = cmap_init;
- cmap_str init = cmap_init;
+ cmap_cfg config = cmap_ini;
+ cmap_str init = cmap_ini;
cmap_str_put(&cmap_cfg_insert(&config, "user", init)->value, "name", "Joe");
cmap_str_put(&cmap_cfg_insert(&config, "user", init)->value, "groups", "proj1,proj3");
cmap_str_put(&cmap_cfg_insert(&config, "group", init)->value, "proj1", "Energy");