Diff for /libaitcfg/example/test_boot.c between versions 1.1.2.1 and 1.1.2.2

version 1.1.2.1, 2012/04/04 11:43:05 version 1.1.2.2, 2012/04/04 13:10:56
Line 14  main(int argc, char **argv) Line 14  main(int argc, char **argv)
   
         cfgWriteConfig(stdout, &cfg, 0);          cfgWriteConfig(stdout, &cfg, 0);
   
           printf("\n++++++++++++++++++ update IP with 192.168.234.11 ...\n\n");
           cfg_setAttribute(&cfg, NULL, "IP2", "192.168.2.1");
           cfg_setAttribute(&cfg, NULL, "IP", "192.168.234.11");
           cfg_setAttribute(&cfg, NULL, "OPT", "\"\"");
           cfg_setAttribute(&cfg, NULL, "OZZ", NULL);
           cfg_unsetAttribute(&cfg, NULL, "OPT");
           cfg_unsetAttribute(&cfg, NULL, "OPT2");
   
           cfgWriteConfig(stdout, &cfg, 0);
   
           printf("\n............ with whitespaces \n\n");
           cfgWriteConfig(stdout, &cfg, 1);
         cfgUnloadConfig(&cfg);          cfgUnloadConfig(&cfg);
         return 0;          return 0;
 }  }

Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>