src: Fix typo

Replace "dont" with "don't". "Dont" is not same as "Do not" or "Don't".

Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
This commit is contained in:
simransinghal 2018-03-25 18:45:49 +05:30 committed by Simran Singhal
parent 235f211901
commit f3b3bcfbc9
8 changed files with 8 additions and 8 deletions

View File

@ -189,7 +189,7 @@ int RGWRESTConn::get_obj(const rgw_user& uid, req_info *info /* optional */, rgw
static constexpr char SEARCH_AMZ_PREFIX[] = "HTTP_X_AMZ_";
for (auto iter= orig_map.lower_bound(SEARCH_AMZ_PREFIX); iter != orig_map.end(); ++iter) {
const string& name = iter->first;
if (name == "HTTP_X_AMZ_DATE") /* dont forward date from original request */
if (name == "HTTP_X_AMZ_DATE") /* don't forward date from original request */
continue;
if (name.compare(0, strlen(SEARCH_AMZ_PREFIX), SEARCH_AMZ_PREFIX) != 0)
break;

View File

@ -273,7 +273,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if ((access_key == "") ||
(secret_key == "")) {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;

View File

@ -414,7 +414,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if ((access_key == "") ||
(secret_key == "")) {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;

View File

@ -187,7 +187,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if ((access_key == "") ||
(secret_key == "")) {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;

View File

@ -471,7 +471,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if ((access_key == "") ||
(secret_key == "")) {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;

View File

@ -476,7 +476,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if ((access_key == "") ||
(secret_key == "")) {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;

View File

@ -1179,7 +1179,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if ((access_key == "") ||
(secret_key == "")) {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;

View File

@ -103,7 +103,7 @@ int main(int argc, char *argv[])
}
}
/* dont accidentally run as anonymous */
/* don't accidentally run as anonymous */
if (access_key == "") {
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
return EPERM;