diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-03-17 11:18:47 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-03-17 11:21:39 -0800 |
| commit | c7e46ee1bb0732bf64bcecd874f63a95b6b3ff38 (patch) | |
| tree | 961a872c814c31bf658b410c49e9723b80685508 /tests | |
| parent | b63b5f4d244130aa0eaeaad4533483c62395dba3 (diff) | |
| download | tinyrad-c7e46ee1bb0732bf64bcecd874f63a95b6b3ff38.tar.gz tinyrad-c7e46ee1bb0732bf64bcecd874f63a95b6b3ff38.tar.bz2 tinyrad-c7e46ee1bb0732bf64bcecd874f63a95b6b3ff38.tar.xz tinyrad-c7e46ee1bb0732bf64bcecd874f63a95b6b3ff38.zip | |
libtinyrad: updating arguments in tinyrad_dict_import()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/common-dict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/common-dict.c b/tests/common-dict.c index f3f149c..172efe4 100644 --- a/tests/common-dict.c +++ b/tests/common-dict.c | |||
| @@ -336,7 +336,7 @@ our_dict_initialize( | |||
| 336 | 336 | ||
| 337 | // load test dictionary vendors | 337 | // load test dictionary vendors |
| 338 | trutils_verbose(opts, "adding test dictionary vendors ..."); | 338 | trutils_verbose(opts, "adding test dictionary vendors ..."); |
| 339 | if ((rc = tinyrad_dict_import(*dictp, test_dict_data_vendors, NULL, NULL, &errs, 0)) != TRAD_SUCCESS) | 339 | if ((rc = tinyrad_dict_import(*dictp, test_dict_data_vendors, NULL, NULL, &errs)) != TRAD_SUCCESS) |
| 340 | { | 340 | { |
| 341 | trutils_error(opts, errs, "tinyrad_dict_import(vendors): %s", tinyrad_strerror(rc)); | 341 | trutils_error(opts, errs, "tinyrad_dict_import(vendors): %s", tinyrad_strerror(rc)); |
| 342 | tinyrad_strsfree(errs); | 342 | tinyrad_strsfree(errs); |
| @@ -346,7 +346,7 @@ our_dict_initialize( | |||
| 346 | 346 | ||
| 347 | // load test dictionary attributes | 347 | // load test dictionary attributes |
| 348 | trutils_verbose(opts, "adding test dictionary attributes ..."); | 348 | trutils_verbose(opts, "adding test dictionary attributes ..."); |
| 349 | if ((rc = tinyrad_dict_import(*dictp, NULL, test_dict_data_attrs, NULL, &errs, 0)) != TRAD_SUCCESS) | 349 | if ((rc = tinyrad_dict_import(*dictp, NULL, test_dict_data_attrs, NULL, &errs)) != TRAD_SUCCESS) |
| 350 | { | 350 | { |
| 351 | trutils_error(opts, errs, "tinyrad_dict_import(attributes): %s", tinyrad_strerror(rc)); | 351 | trutils_error(opts, errs, "tinyrad_dict_import(attributes): %s", tinyrad_strerror(rc)); |
| 352 | tinyrad_strsfree(errs); | 352 | tinyrad_strsfree(errs); |
| @@ -356,7 +356,7 @@ our_dict_initialize( | |||
| 356 | 356 | ||
| 357 | // load test dictionary values | 357 | // load test dictionary values |
| 358 | trutils_verbose(opts, "adding test dictionary values ..."); | 358 | trutils_verbose(opts, "adding test dictionary values ..."); |
| 359 | if ((rc = tinyrad_dict_import(*dictp, NULL, NULL, test_dict_data_values, &errs, 0)) != TRAD_SUCCESS) | 359 | if ((rc = tinyrad_dict_import(*dictp, NULL, NULL, test_dict_data_values, &errs)) != TRAD_SUCCESS) |
| 360 | { | 360 | { |
| 361 | trutils_error(opts, errs, "tinyrad_dict_import(values): %s", tinyrad_strerror(rc)); | 361 | trutils_error(opts, errs, "tinyrad_dict_import(values): %s", tinyrad_strerror(rc)); |
| 362 | tinyrad_strsfree(errs); | 362 | tinyrad_strsfree(errs); |
