aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2020-05-25 19:44:04 +0000
committerViktor Szakats <commit@vsz.me>2020-05-25 19:44:04 +0000
commit308c243db5b7425b454a981d4c0eb7bfac374b8b (patch)
treeb4c77e8a45ab1884ada4ad373a8e7bb97c787c74 /docs/examples
parent54d122287c878188c5bbd4a659295f4ba27e137c (diff)
all: fix codespell errors
Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Closes https://github.com/curl/curl/pull/5452
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/anyauthput.c6
-rw-r--r--docs/examples/curlx.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c
index a6ecb3174..7faf93dcd 100644
--- a/docs/examples/anyauthput.c
+++ b/docs/examples/anyauthput.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,7 +20,7 @@
*
***************************************************************************/
/* <DESC>
- * HTTP PUT upload with authentiction using "any" method. libcurl picks the
+ * HTTP PUT upload with authentication using "any" method. libcurl picks the
* one the server supports/wants.
* </DESC>
*/
@@ -44,7 +44,7 @@
#endif
/*
- * This example shows a HTTP PUT operation with authentiction using "any"
+ * This example shows a HTTP PUT operation with authentication using "any"
* type. It PUTs a file given as a command line argument to the URL also given
* on the command line.
*
diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c
index e21a9ff9a..8b48c99c8 100644
--- a/docs/examples/curlx.c
+++ b/docs/examples/curlx.c
@@ -15,7 +15,7 @@
*/
/*
- * Copyright (c) 2003 - 2019 The OpenEvidence Project. All rights reserved.
+ * Copyright (c) 2003 - 2020 The OpenEvidence Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -459,7 +459,7 @@ int main(int argc, char **argv)
if(!serverurl) {
int j = 0;
BIO_printf(p.errorbio, "no service URL in user cert "
- "cherching in others certificats\n");
+ "searching in others certificates\n");
for(j = 0; j<sk_X509_num(p.ca); j++) {
serverurl = my_get_ext(sk_X509_value(p.ca, j), p.accesstype,
NID_info_access);
@@ -474,7 +474,7 @@ int main(int argc, char **argv)
}
if(!serverurl) {
- BIO_printf(p.errorbio, "no service URL in certificats,"
+ BIO_printf(p.errorbio, "no service URL in certificates,"
" check '-accesstype (AD_DVCS | ad_timestamping)'"
" or use '-connect'\n");
goto err;