diff options
Diffstat (limited to 'src/eclat.c')
-rw-r--r-- | src/eclat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/eclat.c b/src/eclat.c index 8cadebd..69efa8e 100644 --- a/src/eclat.c +++ b/src/eclat.c | |||
@@ -43,6 +43,8 @@ char *format_file; | |||
43 | char *test_map_name; | 43 | char *test_map_name; |
44 | enum eclat_confirm_mode confirm_mode; | 44 | enum eclat_confirm_mode confirm_mode; |
45 | int translate_option = -1; | 45 | int translate_option = -1; |
46 | struct grecs_list *extra_param; | ||
47 | |||
46 | 48 | ||
47 | FILE *xml_dump_file; | 49 | FILE *xml_dump_file; |
48 | 50 | ||
@@ -566,9 +568,10 @@ find_format(const char *name) | |||
566 | return NULL; | 568 | return NULL; |
567 | key.name = (char*) name; | 569 | key.name = (char*) name; |
568 | defn = grecs_symtab_lookup_or_install(format_table, &key, NULL); | 570 | defn = grecs_symtab_lookup_or_install(format_table, &key, NULL); |
569 | if (!defn) | 571 | if (!defn) { |
572 | err("no such format: %s", name); | ||
570 | return NULL; | 573 | return NULL; |
571 | 574 | } | |
572 | env = forlan_parse_buffer(defn->text, strlen(defn->text), | 575 | env = forlan_parse_buffer(defn->text, strlen(defn->text), |
573 | &defn->locus.beg); | 576 | &defn->locus.beg); |
574 | return env; | 577 | return env; |
@@ -656,6 +659,7 @@ eclat_do_command(eclat_command_env_t *env, struct eclat_command *command, | |||
656 | endpoint, "/", | 659 | endpoint, "/", |
657 | region_name, access_key, | 660 | region_name, access_key, |
658 | security_token); | 661 | security_token); |
662 | eclat_request_add_param_list(env->request, extra_param); | ||
659 | } | 663 | } |
660 | 664 | ||
661 | if (command->tag) | 665 | if (command->tag) |