aboutsummaryrefslogtreecommitdiff
path: root/src/startstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/startstop.c')
-rw-r--r--src/startstop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/startstop.c b/src/startstop.c
index 49c5baf..f5346c4 100644
--- a/src/startstop.c
+++ b/src/startstop.c
@@ -26,26 +26,26 @@ parse_options(struct eclat_command const *env,
}
static int
start_stop_instance(eclat_command_env_t *env, int argc, char **argv)
{
int i;
- struct ec2_query *q = env->query;
+ struct ec2_request *q = env->request;
char buf[128], *bend;
size_t bs;
if (argc == 0)
die(EX_USAGE, "no instance ids");
translate_ids(argc, argv, MAP_INSTANCE);
strcpy(buf, "InstanceId.");
bend = buf + strlen(buf);
bs = sizeof(buf) - strlen(buf);
for (i = 0; i < argc; i++) {
snprintf(bend, bs, "%lu", (unsigned long)(i + 1));
- eclat_query_add_param(q, buf, argv[i]);
+ eclat_request_add_param(q, buf, argv[i]);
}
return 0;
}
int

Return to:

Send suggestions and report system problems to the System administrator.