aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/fopen.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2015-06-08 14:22:54 +0300
committerDaniel Stenberg <daniel@haxx.se>2015-06-08 13:43:31 +0200
commit56b7663f73d44bf4774bfb934befb7071ed41280 (patch)
treea3519bcdd6ab9a98ba36658555a8ef749787eed6 /docs/examples/fopen.c
parent025dbe46df8385c3d0a76874758232e7eabc5013 (diff)
docs: Spelling fixes
Diffstat (limited to 'docs/examples/fopen.c')
-rw-r--r--docs/examples/fopen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c
index 4089bb433..9c575d329 100644
--- a/docs/examples/fopen.c
+++ b/docs/examples/fopen.c
@@ -108,7 +108,7 @@ static size_t write_callback(char *buffer,
size=rembuff;
}
else {
- /* realloc suceeded increase buffer size*/
+ /* realloc succeeded increase buffer size*/
url->buffer_len+=size - rembuff;
url->buffer=newbuff;
}
@@ -131,7 +131,7 @@ static int fill_buffer(URL_FILE *file, size_t want)
CURLMcode mc; /* curl_multi_fdset() return code */
/* only attempt to fill buffer if transactions still running and buffer
- * doesnt exceed required size already
+ * doesn't exceed required size already
*/
if((!file->still_running) || (file->buffer_pos > want))
return 0;
@@ -229,7 +229,7 @@ static int use_buffer(URL_FILE *file,int want)
URL_FILE *url_fopen(const char *url,const char *operation)
{
/* this code could check for URLs or types in the 'url' and
- basicly use the real fopen() for standard files */
+ basically use the real fopen() for standard files */
URL_FILE *file;
(void)operation;