--- libaitcfg/example/test_boot.c 2012/04/04 13:11:48 1.2 +++ libaitcfg/example/test_boot.c 2012/07/25 15:24:20 1.3 @@ -26,6 +26,12 @@ main(int argc, char **argv) printf("\n............ with whitespaces \n\n"); cfgWriteConfig(stdout, &cfg, 1); + cfgClearConfig(&cfg); + + printf("\n============ reuse with whitespaces \n\n"); + cfg_setAttribute(&cfg, NULL, "ALIAS0", "1.1.1.1"); + cfg_setAttribute(&cfg, NULL, "ALIAS1", "2.2.2.2"); + cfgWriteConfig(stdout, &cfg, 1); cfgUnloadConfig(&cfg); return 0; }