aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-common/source/posix/environment.c
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/restricted/aws/aws-c-common/source/posix/environment.c
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted/aws/aws-c-common/source/posix/environment.c')
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/environment.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/environment.c b/contrib/restricted/aws/aws-c-common/source/posix/environment.c
index f4b69caea2..2fd670eaf6 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/environment.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/environment.c
@@ -1,6 +1,6 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/common/environment.h>
@@ -13,7 +13,7 @@ int aws_get_environment_value(
const struct aws_string *variable_name,
struct aws_string **value_out) {
- const char *value = getenv(aws_string_c_str(variable_name));
+ const char *value = getenv(aws_string_c_str(variable_name));
if (value == NULL) {
*value_out = NULL;
return AWS_OP_SUCCESS;
@@ -29,7 +29,7 @@ int aws_get_environment_value(
int aws_set_environment_value(const struct aws_string *variable_name, const struct aws_string *value) {
- if (setenv(aws_string_c_str(variable_name), aws_string_c_str(value), 1) != 0) {
+ if (setenv(aws_string_c_str(variable_name), aws_string_c_str(value), 1) != 0) {
return aws_raise_error(AWS_ERROR_ENVIRONMENT_SET);
}
@@ -37,7 +37,7 @@ int aws_set_environment_value(const struct aws_string *variable_name, const stru
}
int aws_unset_environment_value(const struct aws_string *variable_name) {
- if (unsetenv(aws_string_c_str(variable_name)) != 0) {
+ if (unsetenv(aws_string_c_str(variable_name)) != 0) {
return aws_raise_error(AWS_ERROR_ENVIRONMENT_UNSET);
}