|
|
@ -26,16 +26,15 @@ WORD DoTheWork(STRPTR filename) |
|
|
|
if( config != NULL ) |
|
|
|
if( config != NULL ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
StringArray values = NULL; |
|
|
|
StringArray values = NULL; |
|
|
|
|
|
|
|
STRPTR var = NULL; |
|
|
|
|
|
|
|
|
|
|
|
values = ConfigFileGetAll(config, "branch.main.remote"); |
|
|
|
values = ConfigFileGetAll(config, "branch.main.remote"); |
|
|
|
StringArrayForEach(values, Printf("main %s\n", aString);); |
|
|
|
StringArrayForEach(values, Printf("main %s\n", aString);); |
|
|
|
StringArrayFree(values, TRUE);
|
|
|
|
StringArrayFree(values, TRUE);
|
|
|
|
|
|
|
|
|
|
|
|
values = ConfigFileGetAll(config, "branch.config-file-parsing-from-book.remote"); |
|
|
|
var = ConfigFileGet(config, "branch.config-file-parsing-from-book.remote"); |
|
|
|
StringArrayForEach(values, Printf("parse %s\n", aString);); |
|
|
|
Printf("parse %s\n", var); |
|
|
|
StringArrayFree(values, TRUE);
|
|
|
|
FreeVec(var); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConfigFileFree(config); |
|
|
|
ConfigFileFree(config); |
|
|
|
} |
|
|
|
} |
|
|
|