aboutsummaryrefslogtreecommitdiff
path: root/src/cpsnap.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-22 23:59:22 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-01-23 00:03:33 +0200
commitb1824338b366e25756e4c64f04e535684529832d (patch)
tree2dcbf32e0b4fb06b1c4b0a992db882ba184bbd18 /src/cpsnap.c
parent2beaaadb282bd4667e3af1ed65e3944960d1bd3e (diff)
downloadeclat-b1824338b366e25756e4c64f04e535684529832d.tar.gz
eclat-b1824338b366e25756e4c64f04e535684529832d.tar.bz2
Namespace fixup: use "request" consistently
Diffstat (limited to 'src/cpsnap.c')
-rw-r--r--src/cpsnap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpsnap.c b/src/cpsnap.c
index 16de3f2..93e6535 100644
--- a/src/cpsnap.c
+++ b/src/cpsnap.c
@@ -20,13 +20,13 @@
int
eclat_copy_snapshot(eclat_command_env_t *env, int argc, char **argv)
{
- struct ec2_query *q = env->query;
+ struct ec2_request *q = env->request;
parse_options(env, argc, argv);
- eclat_query_add_param(q, "SourceRegion", region);
- eclat_query_add_param(q, "SourceSnapshotId", image);
+ eclat_request_add_param(q, "SourceRegion", region);
+ eclat_request_add_param(q, "SourceSnapshotId", image);
if (descr)
- eclat_query_add_param(q, "Description", descr);
+ eclat_request_add_param(q, "Description", descr);
return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.