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
@@ -29,7 +29,7 @@ static int
29start_stop_instance(eclat_command_env_t *env, int argc, char **argv) 29start_stop_instance(eclat_command_env_t *env, int argc, char **argv)
30{ 30{
31 int i; 31 int i;
32 struct ec2_query *q = env->query; 32 struct ec2_request *q = env->request;
33 char buf[128], *bend; 33 char buf[128], *bend;
34 size_t bs; 34 size_t bs;
35 35
@@ -42,7 +42,7 @@ start_stop_instance(eclat_command_env_t *env, int argc, char **argv)
42 bs = sizeof(buf) - strlen(buf); 42 bs = sizeof(buf) - strlen(buf);
43 for (i = 0; i < argc; i++) { 43 for (i = 0; i < argc; i++) {
44 snprintf(bend, bs, "%lu", (unsigned long)(i + 1)); 44 snprintf(bend, bs, "%lu", (unsigned long)(i + 1));
45 eclat_query_add_param(q, buf, argv[i]); 45 eclat_request_add_param(q, buf, argv[i]);
46 } 46 }
47 47
48 return 0; 48 return 0;

Return to:

Send suggestions and report system problems to the System administrator.