From e5743f08e7efb387bb39c0dc28f36838ece3bc1e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 9 Sep 2017 23:55:08 +0200 Subject: code style: use spaces around pluses --- docs/examples/fopen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples/fopen.c') diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c index 5a7e6ad5b..d115cf396 100644 --- a/docs/examples/fopen.c +++ b/docs/examples/fopen.c @@ -189,7 +189,7 @@ static int fill_buffer(URL_FILE *file, size_t want) else { /* Note that on some platforms 'timeout' may be modified by select(). If you need access to the original value save a copy beforehand. */ - rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout); + rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); } switch(rc) { @@ -398,7 +398,7 @@ char *url_fgets(char *ptr, size_t size, URL_FILE *file) /* look for newline or eof */ for(loop = 0;loop < want;loop++) { if(file->buffer[loop] == '\n') { - want = loop+1;/* include newline */ + want = loop + 1;/* include newline */ break; } } -- cgit v1.2.3