]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: fix typos
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 31 May 2021 10:47:15 +0000 (12:47 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 31 May 2021 10:47:15 +0000 (12:47 +0200)
docs/BUFREF.md
docs/libcurl/libcurl-security.3

index e8ef63080df937ab6f6c3562f39b9006f613d8fc..2231e4e7a635a3b53426f0ffd6c701d6d68ec2c1 100644 (file)
@@ -42,7 +42,7 @@ void Curl_bufref_set(struct bufref *br, const void *buffer, size_t length,
                      void (*destructor)(void *));
 ```
 
-Releases the previouly referenced buffer, then assigns the new `buffer` to
+Releases the previously referenced buffer, then assigns the new `buffer` to
 the structure, associated with its `destructor` function. The later can be
 specified as `NULL`: this will be the case when the referenced buffer is
 static.
@@ -55,7 +55,7 @@ if `buffer` is NULL, `length`must be zero.
 CURLcode Curl_bufref_memdup(struct bufref *br, const void *data, size_t length);
 ```
 
-Releases the previouly referenced buffer, then duplicates the `length`-byte
+Releases the previously referenced buffer, then duplicates the `length`-byte
 `data` into a buffer allocated via `malloc()` and references the later
 associated with destructor `curl_free()`.
 
@@ -70,7 +70,7 @@ Returns `CURLE_OK` if successful, else `CURLE_OUT_OF_MEMORY`.
 const unsigned char *Curl_bufref_ptr(const struct bufref *br);
 ```
 
-Returns a `const unsigned char *` to the referenced bufffer.
+Returns a `const unsigned char *` to the referenced buffer.
 
 ## len
 
index ada378192e8096ae5033bd6514696aac687d7b67..3b868e75e39f7c8ebba1e7aa65403b40507e8051 100644 (file)
@@ -376,7 +376,7 @@ libcurl-using applications that set the 'setuid' bit to run with elevated or
 modified rights also implicitly give that extra power to libcurl and this
 should only be done after very careful considerations.
 
-Giving setuid powers to the appliction means that libcurl can save files using
+Giving setuid powers to the application means that libcurl can save files using
 those new rights (if for example the `SSLKEYLOGFILE` environment variable is
 set). Also: if the application wants these powers to read or manage secrets
 that the user is otherwise not able to view (like credentials for a login