aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2017-08-12 13:33:10 +0100
committerAlessandro Ghedini <alessandro@ghedini.me>2017-08-12 13:33:10 +0100
commit274f9cac96eeafce77d61065e7a3fba9680469c6 (patch)
treeac9bfca2395ac3c7b941aad0285a7d71c82a28ac
parent2747aec3486821ad2bddb5c17e58f354b885366a (diff)
docs: fix typo stuct -> struct
-rw-r--r--docs/libcurl/opts/CURLOPT_SEEKDATA.32
-rw-r--r--docs/libcurl/opts/CURLOPT_SEEKFUNCTION.32
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_SEEKDATA.3 b/docs/libcurl/opts/CURLOPT_SEEKDATA.3
index 9fea9b1b7..6ffa7d12a 100644
--- a/docs/libcurl/opts/CURLOPT_SEEKDATA.3
+++ b/docs/libcurl/opts/CURLOPT_SEEKDATA.3
@@ -39,7 +39,7 @@ HTTP, FTP, SFTP
.nf
static int seek_cb(void *userp, curl_off_t offset, int origin)
{
- struct data *d = (stuct data *)userp;
+ struct data *d = (struct data *)userp;
lseek(our_fd, offset, origin);
return CURL_SEEKFUNC_OK;
}
diff --git a/docs/libcurl/opts/CURLOPT_SEEKFUNCTION.3 b/docs/libcurl/opts/CURLOPT_SEEKFUNCTION.3
index 57141ecf3..95780c872 100644
--- a/docs/libcurl/opts/CURLOPT_SEEKFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_SEEKFUNCTION.3
@@ -70,7 +70,7 @@ HTTP, FTP, SFTP
.nf
static int seek_cb(void *userp, curl_off_t offset, int origin)
{
- struct data *d = (stuct data *)userp;
+ struct data *d = (struct data *)userp;
lseek(our_fd, offset, origin);
return CURL_SEEKFUNC_OK;
}