aboutsummaryrefslogtreecommitdiff
path: root/src/eclat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eclat.c')
-rw-r--r--src/eclat.c6
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;
}

Return to:

Send suggestions and report system problems to the System administrator.