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 | |||
@@ -45,2 +45,4 @@ 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 | ||
@@ -568,5 +570,6 @@ find_format(const 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), |
@@ -658,2 +661,3 @@ eclat_do_command(eclat_command_env_t *env, struct eclat_command *command, | |||
658 | security_token); | 661 | security_token); |
662 | eclat_request_add_param_list(env->request, extra_param); | ||
659 | } | 663 | } |