"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libpromises/generic_agent.c" between
cfengine-3.12.5.tar.gz and cfengine-3.12.6.tar.gz

About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version. LTS (Long Term Support) release.

generic_agent.c  (cfengine-3.12.5):generic_agent.c  (cfengine-3.12.6)
skipping to change at line 252 skipping to change at line 252
} }
else else
{ {
loaded = true; loaded = true;
Log(LOG_LEVEL_VERBOSE, "Loaded augments file '%s', installing contents", filename); Log(LOG_LEVEL_VERBOSE, "Loaded augments file '%s', installing contents", filename);
JsonIterator iter = JsonIteratorInit(augment); JsonIterator iter = JsonIteratorInit(augment);
const char *key; const char *key;
while ((key = JsonIteratorNextKey(&iter))) while ((key = JsonIteratorNextKey(&iter)))
{ {
if (!(StringSafeEqual(key, "vars") || if (!(StringEqual(key, "vars") ||
StringSafeEqual(key, "classes") || StringEqual(key, "classes") ||
StringSafeEqual(key, "inputs") || StringEqual(key, "inputs") ||
StringSafeEqual(key, "augments"))) StringEqual(key, "augments")))
{ {
Log(LOG_LEVEL_VERBOSE, "Unknown augments key '%s' in file '%s', skipping it", Log(LOG_LEVEL_VERBOSE, "Unknown augments key '%s' in file '%s', skipping it",
key, filename); key, filename);
} }
} }
/* load variables (if any) */ /* load variables (if any) */
JsonElement *element = JsonObjectGet(augment, "vars"); JsonElement *element = JsonObjectGet(augment, "vars");
if (element != NULL) if (element != NULL)
{ {
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)