diff options
Diffstat (limited to 'src/eclat.c')
-rw-r--r-- | src/eclat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eclat.c b/src/eclat.c index 66cabdc..beaa934 100644 --- a/src/eclat.c +++ b/src/eclat.c @@ -646,14 +646,14 @@ eclat_do_command(eclat_command_env_t *env, struct eclat_command *command, int rc; if (!(command->flags & CMD_NOQRY)) { - env->query = eclat_query_create(use_ssl ? EC2_QF_HTTPS : 0, + env->request = eclat_request_create(use_ssl ? EC2_RF_HTTPS : 0, endpoint, "/", region_name, access_key, security_token); } if (command->tag) - eclat_query_add_param(env->query, "Action", command->tag); + eclat_request_add_param(env->request, "Action", command->tag); rc = command->handler(env, argc, argv); @@ -661,7 +661,7 @@ eclat_do_command(eclat_command_env_t *env, struct eclat_command *command, if (!eclat_confirm(confirm_mode, "Proceed with %s", command->ident)) die(EX_CANCELLED, "command not confirmed"); - rc = eclat_send_query(env->curl, env->query); + rc = eclat_send_request(env->curl, env->request); } return rc; } |