aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c
index d115cf396..eb27c6ae9 100644
--- a/docs/examples/fopen.c
+++ b/docs/examples/fopen.c
@@ -396,7 +396,7 @@ char *url_fgets(char *ptr, size_t size, URL_FILE *file)
/*buffer contains data */
/* look for newline or eof */
- for(loop = 0;loop < want;loop++) {
+ for(loop = 0; loop < want; loop++) {
if(file->buffer[loop] == '\n') {
want = loop + 1;/* include newline */
break;