summaryrefslogtreecommitdiffabout
path: root/src/startstop.c
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-22 21:59:22 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-01-22 22:03:33 (GMT)
commitb1824338b366e25756e4c64f04e535684529832d (patch) (unidiff)
tree2dcbf32e0b4fb06b1c4b0a992db882ba184bbd18 /src/startstop.c
parent2beaaadb282bd4667e3af1ed65e3944960d1bd3e (diff)
downloadeclat-b1824338b366e25756e4c64f04e535684529832d.tar.gz
eclat-b1824338b366e25756e4c64f04e535684529832d.tar.bz2
Namespace fixup: use "request" consistently
Diffstat (limited to 'src/startstop.c') (more/less context) (ignore whitespace changes)
-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.